diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-10-08 07:25:27 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-10-08 07:25:27 +0200 |
commit | 6d050e13e9dbbeffdb45fc1c5b977b996d310981 (patch) | |
tree | b201bc97ea832ce0c43f144ef7229f52e42bbf23 /debian/patches/0510-Delay_size_request.patch | |
parent | 10ce63378912ef63c8882889f02ed4dff0416f32 (diff) | |
parent | d84f449fcb5ea05fcbb9eee098b7438aa332ad31 (diff) |
Merge branch 'release/debian/0.30.7-1'debian/0.30.7-1
Diffstat (limited to 'debian/patches/0510-Delay_size_request.patch')
-rw-r--r-- | debian/patches/0510-Delay_size_request.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/0510-Delay_size_request.patch b/debian/patches/0510-Delay_size_request.patch deleted file mode 100644 index 7c03791..0000000 --- a/debian/patches/0510-Delay_size_request.patch +++ /dev/null @@ -1,26 +0,0 @@ -Description: Delay size_request -Author: Jens Georg <mail@jensge.org> -Origin: https://git.gnome.org/browse/shotwell/commit/?id=4a70d87 -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 -@@ -911,7 +911,11 @@ public class CheckerboardLayout : Gtk.Dr - debug("on_viewport_resized: due_to_reflow=%s set_size_request %dx%d", - size_allocate_due_to_reflow.to_string(), parent_allocation.width, req.height); - #endif -- set_size_request(parent_allocation.width - SCROLLBAR_PLACEHOLDER_WIDTH, req.height); -+ // But if the current height is 0, don't request a size yet. Delay -+ // it to do_reflow (bgo#766864) -+ if (req.height != 0) { -+ set_size_request(parent_allocation.width - SCROLLBAR_PLACEHOLDER_WIDTH, req.height); -+ } - } else { - // set the layout's width and height to always match the parent's - set_size_request(parent_allocation.width, parent_allocation.height); |