- Timestamp:
- Sep 10, 2009, 5:39:44 PM (13 years ago)
- Location:
- branches/1.7x/gtk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7x/gtk/actions.c
r8946 r9093 107 107 { "start-torrent", GTK_STOCK_MEDIA_PLAY, N_( "_Start" ), "<control>S", N_( "Start torrent" ), G_CALLBACK( action_cb ) }, 108 108 { "show-stats", NULL, N_( "_Statistics" ), NULL, NULL, G_CALLBACK( action_cb ) }, 109 { "donate", NULL, N_( "_Donate" ), NULL, NULL, G_CALLBACK( action_cb ) }, 109 110 { "verify-torrent", NULL, N_( "_Verify Local Data" ), NULL, NULL, G_CALLBACK( action_cb ) }, 110 111 { "pause-torrent", GTK_STOCK_MEDIA_PAUSE, N_( "_Pause" ), "<control>P", N_( "Pause torrent" ), G_CALLBACK( action_cb ) }, -
branches/1.7x/gtk/main.c
r9067 r9093 1330 1330 gtk_widget_show( dialog ); 1331 1331 } 1332 else if( !strcmp( action_name, "donate" ) ) 1333 { 1334 gtr_open_file( "http://www.transmissionbt.com/donate.php" ); 1335 } 1332 1336 else if( !strcmp( action_name, "start-torrent" ) ) 1333 1337 { -
branches/1.7x/gtk/ui.h
r8850 r9093 50 50 " <menuitem action='toggle-message-log'/>\n" 51 51 " <menuitem action='show-stats'/>\n" 52 " <separator/>\n" 53 " <menuitem action='donate'/>\n" 52 54 " <separator/>\n" 53 55 " <menuitem action='help'/>\n" -
branches/1.7x/gtk/util.c
r8941 r9093 505 505 { 506 506 char * argv[] = { (char*)"xdg-open", (char*)path, NULL }; 507 g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH, 508 NULL, NULL, NULL, NULL ); 509 } 507 opened = g_spawn_async( NULL, argv, NULL, G_SPAWN_SEARCH_PATH, 508 NULL, NULL, NULL, NULL ); 509 } 510 511 if( !opened ) 512 g_message( "Unable to open \"%s\"", path ); 510 513 } 511 514 }
Note: See TracChangeset
for help on using the changeset viewer.