[gnome-calendar/wip/flb/weather-forecast: 19/50] week-header: Style temperatures



commit 58d727c81f69cc54b169da6a4cf44adcfd156a19
Author: Florian Brosch <flo brosch gmail com>
Date:   Fri Oct 13 01:38:34 2017 +0200

    week-header: Style temperatures

 data/theme/gtk-styles.css    |    2 +-
 src/views/gcal-week-header.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index 01e5bfb..8e97e1f 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -362,7 +362,7 @@ label.month-name {
     color: alpha(@theme_fg_color, 0.25);
 }
 
-.week-header.week-names {
+.week-header.week-names, .week-header.week-temperature {
     font-size: 10pt;
     font-weight: bold;
     color: alpha(@theme_fg_color, 0.55);
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index 5579b1b..1a1096c 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -1372,7 +1372,6 @@ gcal_week_header_draw (GtkWidget      *widget,
           gdouble wibox_width;
           gdouble wibox_x;
 
-          // TODO: actually try to style temperature via css
           if (weather_icon_name != NULL && wpinfo->icon_buf == NULL)
             {
               GtkIconTheme *theme; /* unowned */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]