[gnome-maps/wip/mlundblad/night-mode: 3/3] mainWindow: Add item to main menu to toggle night mode



commit 3763596121cadfd30a384b327bbb809b8c6f9a4d
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Jun 3 00:00:11 2020 +0200

    mainWindow: Add item to main menu to toggle night mode

 data/ui/main-window.ui | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/data/ui/main-window.ui b/data/ui/main-window.ui
index dfafe912..c3daf4d3 100644
--- a/data/ui/main-window.ui
+++ b/data/ui/main-window.ui
@@ -3,6 +3,10 @@
   <!-- interface-requires gtk+ 3.0 -->
   <menu id="hamburgerMenu">
     <section>
+      <item>
+        <attribute name="action">app.night-mode</attribute>
+        <attribute name="label" translatable="yes">Night Mode</attribute>
+      </item>
       <item>
         <attribute name="action">app.osm-account-setup</attribute>
         <attribute name="label" translatable="yes">Set up OpenStreetMap Account</attribute>


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