[gnome-weather] Allow enter key to select location



commit 2b31e3127582f84dd4ce6b185f548fd3d75ce09a
Author: Kenneth Mecum <contact kenmecum com>
Date:   Wed May 1 22:42:04 2019 -0700

    Allow enter key to select location

 data/places-popover.ui | 1 +
 data/window.ui         | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/data/places-popover.ui b/data/places-popover.ui
index d58f0d2..447e5e7 100644
--- a/data/places-popover.ui
+++ b/data/places-popover.ui
@@ -14,6 +14,7 @@
         <property name="visible">True</property>
         <property name="can_focus">True</property>
         <property name="width-request">300</property>
+        <property name="activates_default">True</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
diff --git a/data/window.ui b/data/window.ui
index fa2bcc0..ff650d9 100644
--- a/data/window.ui
+++ b/data/window.ui
@@ -142,6 +142,7 @@
               <object class="GWeatherLocationEntry" id="initial-grid-location-entry">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
+                <property name="activates_default">True</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>


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