[gnome-clocks] Tweak AM/PM button size a bit



commit ee496da38fe76448fd9c88ae1665c1bb377cd9b7
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Mar 2 14:30:24 2013 +0100

    Tweak AM/PM button size a bit

 data/css/gnome-clocks.css |    4 ++++
 src/widgets.vala          |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index 4af78aa..aace34e 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -94,6 +94,10 @@
     color: @insensitive_fg_color;
 }
 
+.clocks-ampm-toggle-button {
+    font-size: 18px;
+}
+
 .clocks-digital-renderer.active.stripe,
 .clocks-digital-renderer.snoozing.stripe,
 .clocks-digital-renderer.inactive.stripe {
diff --git a/src/widgets.vala b/src/widgets.vala
index 9993e19..e612690 100644
--- a/src/widgets.vala
+++ b/src/widgets.vala
@@ -617,6 +617,8 @@ public class AmPmToggleButton : Gtk.Button {
         stack = new Gd.Stack ();
         stack.duration = 0;
 
+        get_style_context ().add_class ("clocks-ampm-toggle-button");
+
         var str = (new GLib.DateTime.utc (1, 1, 1, 0, 0, 0)).format ("%p");
         am_label = new Gtk.Label (str);
 


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