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
This commit is contained in:
Haohong Wang
2015-12-14 09:57:06 -02:00
committed by Georges Basile Stavracas Neto
parent dc1a7f591b
commit 45c4e72e69
+12 -15
View File
@@ -168,6 +168,18 @@
<property name="visible">True</property>
<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>
@@ -185,18 +197,6 @@
</child>
</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>
@@ -210,9 +210,6 @@
</object>
</child>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<style>
<class name="linked"/>