[gnome-contacts] F10 shorcut for menu



commit 5915914652c262e4b5f72038acc8047a105402df
Author: Sabri Ünal <libreajans gmail com>
Date:   Sat Feb 8 14:35:30 2020 +0000

    F10 shorcut for menu

 data/gtk/help-overlay.ui   | 7 +++++++
 data/ui/contacts-window.ui | 1 +
 2 files changed, 8 insertions(+)
---
diff --git a/data/gtk/help-overlay.ui b/data/gtk/help-overlay.ui
index 31941ac..2b8a7a8 100644
--- a/data/gtk/help-overlay.ui
+++ b/data/gtk/help-overlay.ui
@@ -14,6 +14,13 @@
                 <property name="title" translatable="yes" context="shortcut window">Help</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="accelerator">F10</property>
+                <property name="title" translatable="yes" context="shortcut window">Open menu</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>
diff --git a/data/ui/contacts-window.ui b/data/ui/contacts-window.ui
index 616ac42..5017321 100644
--- a/data/ui/contacts-window.ui
+++ b/data/ui/contacts-window.ui
@@ -193,6 +193,7 @@
                     <property name="can_focus">True</property>
                     <property name="focus_on_click">False</property>
                     <property name="popover">hamburger_menu_popover</property>
+                                       <accelerator key="F10" signal="clicked"/>
                     <child>
                       <object class="GtkImage">
                         <property name="visible">True</property>


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