1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 03:12:44 +00:00

(trunk gtk,qt) #2264: Duplicate keyboard accelerators in the GTK+ client's "View" menu

This commit is contained in:
Charles Kerr 2009-07-03 20:10:05 +00:00
parent 1104a4bf4d
commit f4ab711517
3 changed files with 17 additions and 17 deletions

View file

@ -46,15 +46,15 @@ action_cb( GtkAction * a,
static GtkRadioActionEntry sort_radio_entries[] =
{
{ "sort-by-activity", NULL, N_( "Sort by _Activity" ), NULL, NULL, 0 },
{ "sort-by-name", NULL, N_( "Sort by _Name" ), NULL, NULL, 1 },
{ "sort-by-progress", NULL, N_( "Sort by _Progress" ), NULL, NULL, 2 },
{ "sort-by-ratio", NULL, N_( "Sort by _Ratio" ), NULL, NULL, 3 },
{ "sort-by-state", NULL, N_( "Sort by _State" ), NULL, NULL, 4 },
{ "sort-by-tracker", NULL, N_( "Sort by _Tracker" ), NULL, NULL, 5 },
{ "sort-by-age", NULL, N_( "Sort by A_ge" ), NULL, NULL, 6 },
{ "sort-by-eta", NULL, N_( "Sort by _ETA" ), NULL, NULL, 7 },
{ "sort-by-size", NULL, N_( "Sort by Si_ze" ), NULL, NULL, 8 }
{ "sort-by-activity", NULL, N_( "Sort by _Activity" ), NULL, NULL, 0 },
{ "sort-by-name", NULL, N_( "Sort by _Name" ), NULL, NULL, 1 },
{ "sort-by-progress", NULL, N_( "Sort by _Progress" ), NULL, NULL, 2 },
{ "sort-by-ratio", NULL, N_( "Sort by Rati_o" ), NULL, NULL, 3 },
{ "sort-by-state", NULL, N_( "Sort by Stat_e" ), NULL, NULL, 4 },
{ "sort-by-tracker", NULL, N_( "Sort by T_racker" ), NULL, NULL, 5 },
{ "sort-by-age", NULL, N_( "Sort by A_ge" ), NULL, NULL, 6 },
{ "sort-by-time-left", NULL, N_( "Sort by Time _Left" ), NULL, NULL, 7 },
{ "sort-by-size", NULL, N_( "Sort by Si_ze" ), NULL, NULL, 8 }
};
static void
@ -89,7 +89,7 @@ static GtkToggleActionEntry pref_toggle_entries[] =
{
{ "alt-speed-enabled", NULL, N_( "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_( "_Reverse Sort Order" ), NULL, 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 },
{ "show-statusbar", NULL, N_( "_Statusbar" ), NULL, NULL, G_CALLBACK( toggle_pref_cb ), FALSE },
{ "show-toolbar", NULL, N_( "_Toolbar" ), NULL, NULL, G_CALLBACK( toggle_pref_cb ), FALSE }

View file

@ -36,12 +36,12 @@ static const char * fallback_ui_file =
" <separator/>\n"
" <menuitem action='sort-by-activity'/>\n"
" <menuitem action='sort-by-age'/>\n"
" <menuitem action='sort-by-eta'/>\n"
" <menuitem action='sort-by-name'/>\n"
" <menuitem action='sort-by-progress'/>\n"
" <menuitem action='sort-by-ratio'/>\n"
" <menuitem action='sort-by-size'/>\n"
" <menuitem action='sort-by-state'/>\n"
" <menuitem action='sort-by-time-left'/>\n"
" <menuitem action='sort-by-tracker'/>\n"
" <separator/>\n"
" <menuitem action='sort-reversed'/>\n"

View file

@ -118,12 +118,12 @@
<addaction name="separator"/>
<addaction name="action_SortByActivity"/>
<addaction name="action_SortByAge"/>
<addaction name="action_SortByETA"/>
<addaction name="action_SortByName"/>
<addaction name="action_SortByProgress"/>
<addaction name="action_SortByRatio"/>
<addaction name="action_SortBySize"/>
<addaction name="action_SortByState"/>
<addaction name="action_SortByETA"/>
<addaction name="action_SortByTracker"/>
<addaction name="separator"/>
<addaction name="action_ReverseSortOrder"/>
@ -367,7 +367,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Sort by &amp;ETA</string>
<string>Sort by Time &amp;Left</string>
</property>
</action>
<action name="action_SortByName">
@ -391,7 +391,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Sort by &amp;Ratio</string>
<string>Sort by Rati&amp;o</string>
</property>
</action>
<action name="action_SortBySize">
@ -407,7 +407,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Sort by &amp;State</string>
<string>Sort by Stat&amp;e</string>
</property>
</action>
<action name="action_SortByTracker">
@ -415,7 +415,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Sort by &amp;Tracker</string>
<string>Sort by T&amp;racker</string>
</property>
</action>
<action name="action_ShowMessageLog">
@ -449,7 +449,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Reverse Sort Order</string>
<string>Re&amp;verse Sort Order</string>
</property>
</action>
<action name="action_FilterByName">