[gnome-calendar] window: split arrow buttons from Today button



commit 45c4e72e69a900d1f484a35b211cc94c51f90551
Author: Haohong Wang <rubik361 gmail com>
Date:   Fri Dec 11 23:15:08 2015 +0800

    window: split arrow buttons from Today button
    
    Remove the misleading of previous/next buttons' placement.
    Seperated Today button from the GtkBox and reorganized
    arrow buttons' order.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=755211

 data/ui/window.ui |   27 ++++++++++++---------------
 1 files changed, 12 insertions(+), 15 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index cb0429e..3873e59 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -169,6 +169,18 @@
         <property name="show_close_button">True</property>
         <property name="title" translatable="yes">Calendar</property>
         <child>
+          <object class="GtkButton" id="today_button">
+            <property name="label" translatable="yes">Today</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">True</property>
+            <property name="action_name">win.today</property>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
           <object class="GtkBox" id="button_box">
             <property name="visible">True</property>
             <child>
@@ -186,18 +198,6 @@
               </object>
             </child>
             <child>
-              <object class="GtkButton" id="today_button">
-                <property name="label" translatable="yes">Today</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="action_name">win.today</property>
-              </object>
-              <packing>
-                <property name="position">1</property>
-              </packing>
-            </child>
-            <child>
               <object class="GtkButton" id="forward_button">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
@@ -210,9 +210,6 @@
                   </object>
                 </child>
               </object>
-              <packing>
-                <property name="position">2</property>
-              </packing>
             </child>
             <style>
               <class name="linked"/>


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