1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk gtk) HIG: reorganize the menu items in the tray icon

This commit is contained in:
Charles Kerr 2010-01-14 07:03:29 +00:00
parent aac5e5cb61
commit 9ec94bc91f
2 changed files with 7 additions and 8 deletions

View file

@ -76,7 +76,7 @@ sort_changed_cb( GtkAction * action UNUSED,
static GtkToggleActionEntry show_toggle_entries[] =
{
{ "toggle-main-window", NULL, N_( "_Main Window" ), NULL, NULL, G_CALLBACK( action_cb ), TRUE },
{ "toggle-main-window", NULL, N_( "_Show Transmission" ), NULL, NULL, G_CALLBACK( action_cb ), TRUE },
{ "toggle-message-log", NULL, N_( "Message _Log" ), NULL, NULL, G_CALLBACK( action_cb ), FALSE }
};
@ -92,7 +92,7 @@ toggle_pref_cb( GtkToggleAction * action,
static GtkToggleActionEntry pref_toggle_entries[] =
{
{ "alt-speed-enabled", NULL, N_( "Temporary Speed _Limits" ), NULL, NULL, G_CALLBACK( toggle_pref_cb ), FALSE },
{ "alt-speed-enabled", NULL, N_( "Enable Temporary Speed _Limits" ), NULL, NULL, G_CALLBACK( toggle_pref_cb ), FALSE },
{ "minimal-view", NULL, N_( "_Minimal View" ), "<alt>M", NULL, G_CALLBACK( toggle_pref_cb ), FALSE },
{ "sort-reversed", NULL, N_( "Re_verse Sort Order" ), NULL, NULL, G_CALLBACK( toggle_pref_cb ), FALSE },
{ "show-filterbar", NULL, N_( "_Filterbar" ), NULL, NULL, G_CALLBACK( toggle_pref_cb ), FALSE },

View file

@ -102,17 +102,16 @@ static const char * fallback_ui_file =
" </popup>\n"
"\n"
" <popup name='icon-popup'>\n"
" <menuitem action='toggle-main-window'/>\n"
" <separator/>\n"
" <menuitem action='add-torrent-menu'/>\n"
" <menuitem action='add-torrent-from-url'/>\n"
" <separator/>\n"
" <menuitem action='toggle-main-window'/>\n"
" <menuitem action='toggle-message-log'/>\n"
" <menuitem action='pause-all-torrents'/>\n"
" <menuitem action='start-all-torrents'/>\n"
" <separator/>\n"
" <menuitem action='alt-speed-enabled'/>\n"
" <separator/>\n"
" <menuitem action='start-all-torrents'/>\n"
" <menuitem action='pause-all-torrents'/>\n"
" <separator/>\n"
" <menuitem action='show-about-dialog'/>\n"
" <menuitem action='quit'/>\n"
" </popup>\n"
"\n"