Changeset 11726


Ignore:
Timestamp:
Jan 20, 2011, 8:32:28 PM (12 years ago)
Author:
jordan
Message:

(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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/actions.c

    r11722 r11726  
    127127    { "edit-preferences", GTK_STOCK_PREFERENCES, NULL, NULL, NULL, G_CALLBACK( action_cb ) },
    128128    { "show-torrent-properties", GTK_STOCK_PROPERTIES, NULL, "<alt>Return", N_( "Torrent properties" ), G_CALLBACK( action_cb ) },
    129     { "open-torrent-folder",  GTK_STOCK_OPEN, N_( "_Open Folder" ), NULL, NULL, G_CALLBACK( action_cb ) },
     129    { "open-torrent-folder",  GTK_STOCK_OPEN, N_( "Open Fold_er" ), "<control>E", NULL, G_CALLBACK( action_cb ) },
    130130    { "show-about-dialog", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK( action_cb ) },
    131131    { "help", GTK_STOCK_HELP, N_( "_Contents" ), "F1", NULL, G_CALLBACK( action_cb ) },
  • trunk/qt/mainwin.ui

    r11725 r11726  
    215215  <action name="action_OpenFolder">
    216216   <property name="text">
    217     <string>&amp;Open Folder</string>
     217    <string>Open Fold&amp;er</string>
    218218   </property>
    219219   <property name="toolTip">
     
    221221   </property>
    222222   <property name="shortcut">
    223     <string>Ctrl+O</string>
     223    <string>Ctrl+E</string>
    224224   </property>
    225225  </action>
Note: See TracChangeset for help on using the changeset viewer.