diff options
author | William Hua <william.hua@canonical.com> | 2013-07-17 11:24:27 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-07-17 11:24:27 -0400 |
commit | 4d097b8eb4b6f527ec53b2faf778f0693cac0fa3 (patch) | |
tree | 36a751ba8274e5cfae7514266e48a0d9b2e243a9 /debian/patches/default-icon-colour.patch | |
parent | 6061e1de2a680b14b1a6e1eb2642d0a643910a73 (diff) | |
download | ayatana-indicator-keyboard-4d097b8eb4b6f527ec53b2faf778f0693cac0fa3.tar.gz ayatana-indicator-keyboard-4d097b8eb4b6f527ec53b2faf778f0693cac0fa3.tar.bz2 ayatana-indicator-keyboard-4d097b8eb4b6f527ec53b2faf778f0693cac0fa3.zip |
Add --use-gtk flag.
Diffstat (limited to 'debian/patches/default-icon-colour.patch')
-rw-r--r-- | debian/patches/default-icon-colour.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/patches/default-icon-colour.patch b/debian/patches/default-icon-colour.patch index 0f1de6c0..e2591ff4 100644 --- a/debian/patches/default-icon-colour.patch +++ b/debian/patches/default-icon-colour.patch @@ -1,10 +1,10 @@ --- a/lib/main.vala +++ b/lib/main.vala -@@ -183,6 +183,7 @@ - Pango.FontDescription description; - var style = get_style_context (); - var colour = style.get_color (Gtk.StateFlags.NORMAL); -+ colour = { 0.5, 0.5, 0.5, 1.0 }; - style.get (Gtk.StateFlags.NORMAL, Gtk.STYLE_PROPERTY_FONT, out description); +@@ -195,6 +195,7 @@ - var surface = new Cairo.ImageSurface (Cairo.Format.ARGB32, W, H); + Pango.FontDescription description; + var colour = ((!) style).get_color (Gtk.StateFlags.NORMAL); ++ colour = { 0.5, 0.5, 0.5, 1.0 }; + ((!) style).get (Gtk.StateFlags.NORMAL, Gtk.STYLE_PROPERTY_FONT, out description); + + var surface = new Cairo.ImageSurface (Cairo.Format.ARGB32, W, H); |