[gnome-maps] gschema: Add key for last used transportation type



commit cafaf83587de61e6e93980701921b57cd851ff5c
Author: Marcus Lundblad <ml update uu se>
Date:   Sun May 28 22:26:15 2017 +0200

    gschema: Add key for last used transportation type
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783089

 data/org.gnome.Maps.gschema.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.Maps.gschema.xml b/data/org.gnome.Maps.gschema.xml
index aa083af..9585a45 100644
--- a/data/org.gnome.Maps.gschema.xml
+++ b/data/org.gnome.Maps.gschema.xml
@@ -1,4 +1,10 @@
 <schemalist gettext-domain="gnome-maps">
+  <enum id="org.gnome.maps.TransportationType">
+    <value value="0" nick="car"/>
+    <value value="1" nick="bike"/>
+    <value value="2" nick="pedestrian"/>
+    <value value="3" nick="transit"/>
+  </enum>
   <schema id="org.gnome.Maps" path="/org/gnome/maps/">
     <key type="ad" name="last-viewed-location">
       <default>[0.0,0.0,0.0,0.0]</default>
@@ -60,5 +66,9 @@
       <summary>OpenStreetMap username or e-mail address</summary>
       <description>Indicates if the user has signed in to edit OpenStreetMap data.</description>
     </key>
+    <key name="transportation-type" enum="org.gnome.maps.TransportationType">
+      <default>'pedestrian'</default>
+      <summary>Last used transportation type for routing</summary>
+    </key>
   </schema>
 </schemalist>


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