[gnome-maps/wip/mlundblad/main-menu-shortcut: 3/4] mainWindow: Add keyboard shortcut for main menu



commit 093ecbc4f343653bded77958479eac363743bbac
Author: Marcus Lundblad <ml update uu se>
Date:   Fri May 29 23:01:03 2020 +0200

    mainWindow: Add keyboard shortcut for main menu
    
    Add F10 as keyboard shortcut to open the main menu.

 data/ui/main-window.ui | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/data/ui/main-window.ui b/data/ui/main-window.ui
index f041f706..dfafe912 100644
--- a/data/ui/main-window.ui
+++ b/data/ui/main-window.ui
@@ -42,6 +42,12 @@
             <property name="halign">end</property>
             <property name="valign">center</property>
             <property name="menu-model">hamburgerMenu</property>
+            <accelerator key="F10" signal="clicked"/>
+            <child internal-child="accessible">
+              <object class="AtkObject">
+                <property name="accessible-name" translatable="yes">Primary menu</property>
+              </object>
+            </child>
             <style>
               <class name="image-button"/>
             </style>


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