year-view: initial UI for no events days

This commit is contained in:
Erick Pérez Castellanos
2015-01-20 17:06:22 -05:00
parent 9b222e8d5f
commit 4247018bde
3 changed files with 89 additions and 4 deletions
+55 -4
View File
@@ -24,17 +24,68 @@
<property name="width_request">200</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow" id="navigator_sidebar">
<object class="GtkStack" id="navigator_stack">
<property name="visible">True</property>
<property name="shadow_type">out</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="events_sidebar">
<object class="GtkScrolledWindow" id="navigator_sidebar">
<property name="visible">True</property>
<property name="shadow_type">out</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="events_sidebar">
<property name="visible">True</property>
<style>
<class name="sidebar" />
</style>
</object>
</child>
</object>
<packing>
<property name="position">0</property>
<property name="name">events-list</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<style>
<class name="sidebar" />
</style>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="margin">6</property>
<property name="label" translatable="True">Today</property>
<style>
<class name="sidebar-header" />
</style>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="margin_start">6</property>
<property name="label" translatable="True">No events</property>
<style>
<class name="dim-label" />
<class name="italic-label"/>
</style>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
<property name="name">no-events</property>
</packing>
</child>
</object>
<packing>