week-view: draw the hours labels

Draw the hour labels in the sidebar of the week grid.
This commit is contained in:
pandusonu2
2016-12-01 23:48:53 -02:00
committed by Georges Basile Stavracas Neto
parent 4b1ff14b6a
commit 680f220fb2
4 changed files with 126 additions and 32 deletions
+18 -2
View File
@@ -3,6 +3,9 @@
<template class="GcalWeekView" parent="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<style>
<class name="week-view" />
</style>
<child>
<object class="GcalWeekHeader" id="header">
<property name="visible">True</property>
@@ -16,9 +19,22 @@
<object class="GtkViewport">
<property name="visible">True</property>
<child>
<!--<object class="GcalWeekGrid">
<object class="GtkBox">
<property name="visible">True</property>
</object>-->
<property name="orientation">vertical</property>
<child>
<object class="GtkDrawingArea">
<property name="visible">True</property>
<property name="height-request">2568</property>
<signal name="draw" handler="gcal_week_view_draw_hours" object="GcalWeekView" swapped="yes" />
</object>
</child>
<!--<child>
<object class="GcalWeekGrid">
<property name="visible">True</property>
</object>
</child>-->
</object>
</child>
</object>
</child>