From 680f220fb2ad89a93b1c14773f825830d80d6ffc Mon Sep 17 00:00:00 2001 From: pandusonu2 Date: Thu, 21 Jul 2016 23:45:35 +0530 Subject: [PATCH] week-view: draw the hours labels Draw the hour labels in the sidebar of the week grid. --- data/theme/gtk-styles.css | 11 +++++ data/ui/week-view.ui | 20 +++++++- src/views/gcal-week-grid.c | 28 ----------- src/views/gcal-week-view.c | 99 +++++++++++++++++++++++++++++++++++++- 4 files changed, 126 insertions(+), 32 deletions(-) diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css index 3549750a..45518c9e 100644 --- a/data/theme/gtk-styles.css +++ b/data/theme/gtk-styles.css @@ -398,3 +398,14 @@ datechooser day:selected:hover { .week-header .margin { color: alpha(@theme_fg_color, 0.6); } + +.week-view { + padding: 0px; +} + +.week-view .hours { + font-size: 12pt; + font-weight: normal; + color: alpha(@theme_fg_color, 0.25); + padding: 8px; +} diff --git a/data/ui/week-view.ui b/data/ui/week-view.ui index b3b0ac1c..39d48af6 100644 --- a/data/ui/week-view.ui +++ b/data/ui/week-view.ui @@ -3,6 +3,9 @@