Changeset 7106
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/actions.c
r6949 r7106 153 153 { "edit-preferences", GTK_STOCK_PREFERENCES, NULL, 154 154 NULL, NULL, G_CALLBACK( action_cb ) }, 155 { "show-torrent-details", GTK_STOCK_INFO, 156 N_( "_Details" ), "<alt>Return", N_( "Torrent details" ), G_CALLBACK( 157 action_cb ) }, 155 { "show-torrent-properties", GTK_STOCK_PROPERTIES, 156 NULL, "<alt>Return", N_( "Torrent properties" ), G_CALLBACK( action_cb ) }, 158 157 { "open-torrent-folder", GTK_STOCK_OPEN, 159 158 N_( "_Open Folder" ), NULL, NULL, G_CALLBACK( action_cb ) }, -
trunk/gtk/details.c
r7086 r7106 1478 1478 GtkWidget * d, *n, *w; 1479 1479 tr_torrent * tor = tr_torrent_handle ( gtor ); 1480 char sizeStr[64];1481 1480 char title[512]; 1482 1481 const tr_info * info = tr_torrent_info ( gtor ); 1483 1482 1484 1483 /* create the dialog */ 1485 tr_strlsize( sizeStr, info->totalSize, sizeof( sizeStr ) ); 1486 /* %1$s is torrent name 1487 %2$s its file size */ 1488 g_snprintf( title, sizeof( title ), _( 1489 "Details for %1$s (%2$s)" ), info->name, sizeStr ); 1484 g_snprintf( title, sizeof( title ), _( "%s Properties" ), info->name ); 1490 1485 d = gtk_dialog_new_with_buttons ( title, parent, 0, 1491 1486 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, -
trunk/gtk/file-list.c
r7072 r7106 795 795 "expand", TRUE, 796 796 /* Translators: this is a column 797 header in Files tab, Details797 header in Files tab, Properties 798 798 dialog; 799 799 Don't include the prefix … … 817 817 818 818 rend = gtk_cell_renderer_progress_new( ); 819 /* Translators: this is a column header in Files tab, Details dialog;819 /* Translators: this is a column header in Files tab, Properties dialog; 820 820 Don't include the prefix "filedetails|" in the translation. */ 821 821 col = gtk_tree_view_column_new_with_attributes( Q_( "filedetails|Progress" ), rend, NULL ); … … 826 826 /* add "enabled" column */ 827 827 rend = gtk_cell_renderer_toggle_new( ); 828 /* Translators: this is a column header in Files tab, Details dialog;828 /* Translators: this is a column header in Files tab, Properties dialog; 829 829 Don't include the prefix "filedetails|" in the translation. 830 830 The items for this column are checkboxes (yes/no) */ -
trunk/gtk/main.c
r7020 r7106 221 221 action_sensitize( "verify-torrent", counts.totalCount != 0 ); 222 222 action_sensitize( "open-torrent-folder", counts.totalCount == 1 ); 223 action_sensitize( "show-torrent- details", counts.totalCount == 1 );223 action_sensitize( "show-torrent-properties", counts.totalCount == 1 ); 224 224 225 225 canUpdate = 0; … … 1485 1485 gtk_tree_selection_selected_foreach( s, openFolderForeach, data ); 1486 1486 } 1487 else if( !strcmp ( action_name, "show-torrent- details" ) )1487 else if( !strcmp ( action_name, "show-torrent-properties" ) ) 1488 1488 { 1489 1489 GtkTreeSelection * s = tr_window_get_selection( data->wind ); -
trunk/gtk/tr-window.c
r7069 r7106 129 129 gpointer user_data UNUSED ) 130 130 { 131 action_activate( "show-torrent- details" );131 action_activate( "show-torrent-properties" ); 132 132 } 133 133 -
trunk/gtk/ui.h
r6870 r7106 6 6 " <menuitem action='new-torrent'/>\n" 7 7 " <separator/>\n" 8 " <menuitem action='show-torrent- details'/>\n"8 " <menuitem action='show-torrent-properties'/>\n" 9 9 " <menuitem action='open-torrent-folder'/>\n" 10 10 " <separator/>\n" … … 56 56 " <toolitem action='remove-torrent'/>\n" 57 57 " <separator/>\n" 58 " <toolitem action='show-torrent- details'/>\n"58 " <toolitem action='show-torrent-properties'/>\n" 59 59 " </toolbar>\n" 60 60 "\n" 61 61 " <popup name='main-window-popup'>\n" 62 " <menuitem action='show-torrent- details'/>\n"62 " <menuitem action='show-torrent-properties'/>\n" 63 63 " <menuitem action='open-torrent-folder'/>\n" 64 64 " <separator/>\n"
Note: See TracChangeset
for help on using the changeset viewer.