(trunk gtk) the Torrent menu's getting crowded... split it into File and Torrent

This commit is contained in:
Charles Kerr 2009-11-29 07:41:13 +00:00
parent bb2a86300e
commit 52699591dc
2 changed files with 15 additions and 12 deletions

View File

@ -102,6 +102,7 @@ static GtkToggleActionEntry pref_toggle_entries[] =
static GtkActionEntry entries[] =
{
{ "file-menu", NULL, N_( "_File" ), NULL, NULL, NULL },
{ "torrent-menu", NULL, N_( "_Torrent" ), NULL, NULL, NULL },
{ "view-menu", NULL, N_( "_View" ), NULL, NULL, NULL },
{ "sort-menu", NULL, N_( "_Sort Torrents By" ), NULL, NULL, NULL },

View File

@ -1,22 +1,11 @@
static const char * fallback_ui_file =
"<ui>\n"
" <menubar name='main-window-menu'>\n"
" <menu action='torrent-menu'>\n"
" <menu action='file-menu'>\n"
" <menuitem action='add-torrent-menu'/>\n"
" <menuitem action='add-torrent-from-url'/>\n"
" <menuitem action='new-torrent'/>\n"
" <separator/>\n"
" <menuitem action='show-torrent-properties'/>\n"
" <menuitem action='open-torrent-folder'/>\n"
" <menuitem action='relocate-torrent'/>\n"
" <separator/>\n"
" <menuitem action='start-torrent'/>\n"
" <menuitem action='update-tracker'/>\n"
" <menuitem action='pause-torrent'/>\n"
" <menuitem action='verify-torrent'/>\n"
" <menuitem action='remove-torrent'/>\n"
" <menuitem action='delete-torrent'/>\n"
" <separator/>\n"
" <menuitem action='start-all-torrents'/>\n"
" <menuitem action='pause-all-torrents'/>\n"
" <separator/>\n"
@ -28,6 +17,19 @@ static const char * fallback_ui_file =
" <separator/>\n"
" <menuitem action='edit-preferences'/>\n"
" </menu>\n"
" <menu action='torrent-menu'>\n"
" <menuitem action='show-torrent-properties'/>\n"
" <menuitem action='open-torrent-folder'/>\n"
" <menuitem action='relocate-torrent'/>\n"
" <separator/>\n"
" <menuitem action='start-torrent'/>\n"
" <menuitem action='update-tracker'/>\n"
" <menuitem action='pause-torrent'/>\n"
" <menuitem action='verify-torrent'/>\n"
" <separator/>\n"
" <menuitem action='remove-torrent'/>\n"
" <menuitem action='delete-torrent'/>\n"
" </menu>\n"
" <menu action='view-menu'>\n"
" <menuitem action='minimal-view'/>\n"
" <separator/>\n"