Changeset 4911
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/actions.c
r4905 r4911 102 102 { "edit-menu", NULL, N_("_Edit"), NULL, NULL, NULL }, 103 103 { "help-menu", NULL, N_("_Help"), NULL, NULL, NULL }, 104 { "open-torrent", GTK_STOCK_OPEN, 105 NULL, NULL, N_("Open Torrent"), G_CALLBACK(action_cb) }, 104 { "open-torrent-toolbar", GTK_STOCK_OPEN, N_("_Open"), NULL, 105 N_("Open an existing torrent"), 106 G_CALLBACK(action_cb) }, 107 { "open-torrent-menu", GTK_STOCK_OPEN, N_("_Open..."), "<control>O", 108 N_("Open an existing torrent"), 109 G_CALLBACK(action_cb) }, 106 110 { "start-torrent", GTK_STOCK_MEDIA_PLAY, 107 111 N_("_Start"), "<control>S", NULL, G_CALLBACK(action_cb) }, … … 113 117 { "remove-torrent", GTK_STOCK_REMOVE, 114 118 N_("_Remove"), "<control>Delete", NULL, G_CALLBACK(action_cb) }, 115 { "create-torrent", GTK_STOCK_NEW, 116 N_("Create _New Torrent"), NULL, NULL, G_CALLBACK(action_cb) }, 117 { "close", GTK_STOCK_CLOSE, 118 N_("_Close"), "<control>W", NULL, G_CALLBACK(action_cb) }, 119 { "new-torrent", GTK_STOCK_NEW, N_("_New..."), NULL, 120 N_("Create a new torrent"), 121 G_CALLBACK(action_cb) }, 122 { "close", GTK_STOCK_CLOSE, N_("_Close"), "<control>W", 123 N_("Close main window"), 124 G_CALLBACK(action_cb) }, 119 125 { "quit", GTK_STOCK_QUIT, 120 126 N_("_Quit"), "<control>Q", NULL, G_CALLBACK(action_cb) }, -
trunk/gtk/main.c
r4903 r4911 979 979 gtk_tree_selection_selected_foreach( s, updateTrackerForeach, data->wind ); 980 980 } 981 else if (!strcmp (action_name, " create-torrent"))981 else if (!strcmp (action_name, "new-torrent")) 982 982 { 983 983 GtkWidget * w = make_meta_ui( GTK_WINDOW( data->wind ), -
trunk/gtk/makemeta-ui.c
r4850 r4911 233 233 ui->handle = handle; 234 234 235 d = gtk_dialog_new_with_buttons( _(" CreateNew Torrent"),235 d = gtk_dialog_new_with_buttons( _("New Torrent"), 236 236 parent, 237 237 GTK_DIALOG_DESTROY_WITH_PARENT, -
trunk/gtk/ui.h
r4905 r4911 3 3 " <menubar name='main-window-menu'>\n" 4 4 " <menu action='torrent-menu'>\n" 5 " <menuitem action='open-torrent '/>\n"6 " <menuitem action=' create-torrent'/>\n"5 " <menuitem action='open-torrent-menu'/>\n" 6 " <menuitem action='new-torrent'/>\n" 7 7 " <separator/>\n" 8 8 " <menuitem action='start-torrent'/>\n" … … 24 24 " <menu action='view-menu'>\n" 25 25 " <menuitem action='minimal-view'/>\n" 26 " <separator/>\n" 26 27 " <menuitem action='show-toolbar'/>\n" 27 28 " <menuitem action='show-filter-bar'/>\n" … … 33 34 " <menuitem action='sort-by-state'/>\n" 34 35 " <menuitem action='sort-by-tracker'/>\n" 36 " <separator/>\n" 35 37 " <menuitem action='sort-reversed'/>\n" 36 38 " </menu>\n" … … 44 46 "\n" 45 47 " <toolbar name='main-window-toolbar'>\n" 46 " <toolitem action='open-torrent '/>\n"48 " <toolitem action='open-torrent-toolbar'/>\n" 47 49 " <toolitem action='start-torrent'/>\n" 48 50 " <toolitem action='pause-torrent'/>\n" … … 64 66 "\n" 65 67 " <popup name='icon-popup'>\n" 66 " <menuitem action='open-torrent '/>\n"68 " <menuitem action='open-torrent-menu'/>\n" 67 69 " <separator/>\n" 68 70 " <menuitem action='toggle-main-window'/>\n"
Note: See TracChangeset
for help on using the changeset viewer.