mirror of
https://github.com/transmission/transmission
synced 2025-02-25 07:22:38 +00:00
(trunk) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients" -- fix accelerator ambiguity.
Using Ctrl-O for "Open File" causes a conflict with the existing Ctrl-O for "Open Folder." The HIG-compliant shortcut wins the conflict, so "Open Folder" gets a new accelerator.
This commit is contained in:
parent
f22e2d537b
commit
a63fdd15b4
2 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ static GtkActionEntry entries[] =
|
|||
{ "deselect-all", NULL, N_( "Dese_lect All" ), "<shift><control>A", NULL, G_CALLBACK( action_cb ) },
|
||||
{ "edit-preferences", GTK_STOCK_PREFERENCES, NULL, NULL, NULL, G_CALLBACK( action_cb ) },
|
||||
{ "show-torrent-properties", GTK_STOCK_PROPERTIES, NULL, "<alt>Return", N_( "Torrent properties" ), G_CALLBACK( action_cb ) },
|
||||
{ "open-torrent-folder", GTK_STOCK_OPEN, N_( "_Open Folder" ), NULL, NULL, G_CALLBACK( action_cb ) },
|
||||
{ "open-torrent-folder", GTK_STOCK_OPEN, N_( "Open Fold_er" ), "<control>E", NULL, G_CALLBACK( action_cb ) },
|
||||
{ "show-about-dialog", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK( action_cb ) },
|
||||
{ "help", GTK_STOCK_HELP, N_( "_Contents" ), "F1", NULL, G_CALLBACK( action_cb ) },
|
||||
{ "update-tracker", GTK_STOCK_NETWORK, N_( "Ask Tracker for _More Peers" ), NULL, NULL, G_CALLBACK( action_cb ) },
|
||||
|
|
|
@ -214,13 +214,13 @@
|
|||
</action>
|
||||
<action name="action_OpenFolder">
|
||||
<property name="text">
|
||||
<string>&Open Folder</string>
|
||||
<string>Open Fold&er</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Open the torrent's folder</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+O</string>
|
||||
<string>Ctrl+E</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Start">
|
||||
|
|
Loading…
Reference in a new issue