[gnome-clocks] Alarm spinbuttons must activate-default



commit 56d58734d898dd914e0178b85ce39e1fcc3fb1ab
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Mar 3 22:30:48 2013 +0100

    Alarm spinbuttons must activate-default

 src/alarm.ui |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)
---
diff --git a/src/alarm.ui b/src/alarm.ui
index e39b962..724651c 100644
--- a/src/alarm.ui
+++ b/src/alarm.ui
@@ -165,53 +165,55 @@
           </packing>
         </child>
         <child>
-          <object class="GtkSpinButton" id="m_spinbutton">
+          <object class="GtkSpinButton" id="h_spinbutton">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="invisible_char">●</property>
+            <property name="activates_default">True</property>
             <property name="xalign">0.5</property>
             <property name="invisible_char_set">True</property>
             <property name="input_purpose">number</property>
             <property name="orientation">vertical</property>
-            <property name="adjustment">m_adjustment</property>
+            <property name="adjustment">h_adjustment</property>
             <property name="numeric">True</property>
             <property name="wrap">True</property>
           </object>
           <packing>
-            <property name="left_attach">3</property>
+            <property name="left_attach">1</property>
             <property name="top_attach">0</property>
             <property name="width">1</property>
             <property name="height">1</property>
           </packing>
         </child>
         <child>
-          <object class="GtkSpinButton" id="h_spinbutton">
+          <object class="GtkLabel" id="label2">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="invisible_char">●</property>
-            <property name="xalign">0.5</property>
-            <property name="invisible_char_set">True</property>
-            <property name="input_purpose">number</property>
-            <property name="orientation">vertical</property>
-            <property name="adjustment">h_adjustment</property>
-            <property name="numeric">True</property>
-            <property name="wrap">True</property>
+            <property name="can_focus">False</property>
+            <property name="label">∶</property>
           </object>
           <packing>
-            <property name="left_attach">1</property>
+            <property name="left_attach">2</property>
             <property name="top_attach">0</property>
             <property name="width">1</property>
             <property name="height">1</property>
           </packing>
         </child>
         <child>
-          <object class="GtkLabel" id="label2">
+          <object class="GtkSpinButton" id="m_spinbutton">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="label">∶</property>
+            <property name="can_focus">True</property>
+            <property name="invisible_char">●</property>
+            <property name="activates_default">True</property>
+            <property name="xalign">0.5</property>
+            <property name="invisible_char_set">True</property>
+            <property name="input_purpose">number</property>
+            <property name="orientation">vertical</property>
+            <property name="adjustment">m_adjustment</property>
+            <property name="numeric">True</property>
+            <property name="wrap">True</property>
           </object>
           <packing>
-            <property name="left_attach">2</property>
+            <property name="left_attach">3</property>
             <property name="top_attach">0</property>
             <property name="width">1</property>
             <property name="height">1</property>
@@ -293,6 +295,7 @@
             <property name="can_focus">True</property>
             <property name="invisible_char">●</property>
             <property name="invisible_char_set">True</property>
+            <property name="activates_default">True</property>
           </object>
           <packing>
             <property name="left_attach">1</property>


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