[tracker/needle: 51/53] tracker-needle: Added Ctrl+S and Ctrl+F to focus the search bar



commit 61d1167d3fc76112bf14da696442f1e9c35180af
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Nov 12 23:20:18 2010 +0000

    tracker-needle: Added Ctrl+S and Ctrl+F to focus the search bar

 src/tracker-needle/tracker-needle.ui |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-needle/tracker-needle.ui b/src/tracker-needle/tracker-needle.ui
index 58a9d44..ed53bad 100644
--- a/src/tracker-needle/tracker-needle.ui
+++ b/src/tracker-needle/tracker-needle.ui
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 2.12 -->
   <!-- interface-naming-policy project-wide -->
@@ -134,6 +134,8 @@
                         <property name="has_focus">True</property>
                         <property name="model">liststore_search</property>
                         <property name="text_column">0</property>
+                        <accelerator key="f" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
+                        <accelerator key="s" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
                       </object>
                     </child>
                   </object>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]