nav-bar: implemented today button

Implements today button between previous and forward buttons.

Fix bug #703316.
This commit is contained in:
Georges Basile Stavracas Neto
2014-12-04 17:10:40 -05:00
committed by Erick Pérez Castellanos
parent 21356d926d
commit 7dc4ae6a84
4 changed files with 65 additions and 17 deletions
+23 -1
View File
@@ -37,6 +37,28 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="today_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
<style>
<class name="nav-button"/>
</style>
<child>
<object class="GtkLabel" id="today_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Today</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="forward_button">
<property name="visible">True</property>
@@ -56,7 +78,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
<property name="position">2</property>
</packing>
</child>
</object>