(trunk gtk) add a Donate item to the Help menu

This commit is contained in:
Charles Kerr
2009-09-10 17:39:44 +00:00
parent 5282a62733
commit 149f8c90d8
4 changed files with 14 additions and 2 deletions

View File

@@ -504,8 +504,13 @@ gtr_open_file( const char * path )
if( !opened )
{
char * argv[] = { (char*)"xdg-open", (char*)path, NULL };
g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH,
NULL, NULL, NULL, NULL );
opened = g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH,
NULL, NULL, NULL, NULL );
}
if( !opened )
{
g_message( "Unable to open \"%s\"", path );
}
}
}