]> git.0d.be Git - empathy.git/commitdiff
Map Ctrl-Shift-F to contact search and Ctrl-F to find
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 18 Mar 2011 11:19:34 +0000 (11:19 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 18 Mar 2011 13:49:18 +0000 (14:49 +0100)
As discussed on <https://bugzilla.gnome.org/show_bug.cgi?id=645121>,
currently Ctrl-F opens the contact search dialog, and there's no
keyboard shortcut for searching within the contact list (other than just
typing). The Gnome HIG handles this situation: it says that the former
should be Ctrl-Shift-F and the latter should be Ctrl-F.
<http://library.gnome.org/devel/hig-book/2.32/input-keyboard.html.en#standard-shortcuts>

src/empathy-main-window.ui

index 217b276f247136f74d3045ad6e18eef01a054927..864be1d287f3eed37647a48aa3d8d7b6a9de7980 100644 (file)
@@ -47,6 +47,7 @@
             <property name="name">chat_search_contacts</property>
             <property name="label" translatable="yes">_Search for Contacts…</property>
           </object>
+          <accelerator key="f" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
         </child>
         <child>
           <object class="GtkAction" id="view_show_ft_manager">
             <property name="name">edit_search_contacts</property>
             <property name="label" translatable="yes">Find in Contact _List</property>
           </object>
+          <accelerator key="f" modifiers="GDK_CONTROL_MASK"/>
         </child>
         <child>
           <object class="GtkAction" id="view">