diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-06-05 22:44:56 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-06-05 22:44:56 +0200 |
commit | 5db2423befaf4834bb8bd9ae297817debdaa3b78 (patch) | |
tree | bb3bffe401abdf87f1a6eed0aad6f2ad881d27d7 /debian/patches/0515-Fix_background_color_drawing.patch | |
parent | 4ec85b860b210ba7c09123fef95b8eb24cd1828d (diff) |
New cherry-picked patches
Diffstat (limited to 'debian/patches/0515-Fix_background_color_drawing.patch')
-rw-r--r-- | debian/patches/0515-Fix_background_color_drawing.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0515-Fix_background_color_drawing.patch b/debian/patches/0515-Fix_background_color_drawing.patch new file mode 100644 index 0000000..04a1adb --- /dev/null +++ b/debian/patches/0515-Fix_background_color_drawing.patch @@ -0,0 +1,32 @@ +Description: Fix background color drawing +Author: Jens Georg <mail@jensge.org> +Origin: https://git.gnome.org/browse/shotwell/commit/?id=7361b3f +Bug: https://bugzilla.gnome.org/show_bug.cgi?id=766864 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823835 +Forwarded: not-needed +Last-Update: 2015-06-05 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/src/CheckerboardLayout.vala +=================================================================== +--- trunk.orig/src/CheckerboardLayout.vala ++++ trunk/src/CheckerboardLayout.vala +@@ -1812,6 +1812,10 @@ public class CheckerboardLayout : Gtk.Dr + // we want switched_to() to be the final call in the process (indicating that the page is + // now in place and should do its thing to update itself), have to be be prepared for + // GTK/GDK calls between the widgets being actually present on the screen and "switched to" ++ ++ Gtk.Allocation allocation; ++ get_allocation(out allocation); ++ get_style_context().render_background (ctx, 0, 0, allocation.width, allocation.height); + + // watch for message mode + if (message == null) { +@@ -1833,7 +1837,6 @@ public class CheckerboardLayout : Gtk.Dr + int text_width, text_height; + pango_layout.get_pixel_size(out text_width, out text_height); + +- Gtk.Allocation allocation; + get_allocation(out allocation); + + int x = allocation.width - text_width; |