[gnome-calendar/wip/igaldino/flowbox-year-view: 23/24] date-chooser: Fix month label style



commit e543cf32dab3199c2c67fdb529046018cd1f3208
Author: Isaque Galdino <igaldino gmail com>
Date:   Tue Feb 14 22:18:30 2017 -0200

    date-chooser: Fix month label style
    
    Month label was not using the same style used by multi-choice widget.

 data/theme/gtk-styles.css |    5 +++++
 data/ui/date-chooser.ui   |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index 86cb146..dfbcd42 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -286,6 +286,11 @@ datechooser navigator button {
   padding: 0;
 }
 
+/* month label */
+datechooser .month-label {
+  font-weight: bold;
+}
+
 /* day names and week numbers*/
 datechooser .weeknum,
 datechooser .weekday {
diff --git a/data/ui/date-chooser.ui b/data/ui/date-chooser.ui
index c4c0848..b7bd3b7 100644
--- a/data/ui/date-chooser.ui
+++ b/data/ui/date-chooser.ui
@@ -39,6 +39,9 @@
         <child>
           <object class="GtkLabel" id="month_label">
             <property name="visible" bind-source="GcalDateChooser" bind-property="show-month-only" 
bind-flags="sync-create"/>
+            <style>
+              <class name="month-label" />
+            </style>
           </object>
           <packing>
             <property name="left-attach">0</property>


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