aboutsummaryrefslogtreecommitdiff
path: root/office/evince/patches/evince-2.32.0-use-popup.patch
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-05-10 17:09:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-17 09:54:03 -0500
commit9ac64013666e0a79f2cbfd034335ac379c3fbeac (patch)
tree2d4be3726557e739482c2f35fb2fb76c4b3c1a0a /office/evince/patches/evince-2.32.0-use-popup.patch
parentd79e834943a46e18229d6f252626362047f13fb9 (diff)
office/evince: Added various patches to fix things.
No idea which patch(es) fixes the segfault, don't really care to find out. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/evince/patches/evince-2.32.0-use-popup.patch')
-rw-r--r--office/evince/patches/evince-2.32.0-use-popup.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/office/evince/patches/evince-2.32.0-use-popup.patch b/office/evince/patches/evince-2.32.0-use-popup.patch
new file mode 100644
index 0000000000000..8bb52c80315da
--- /dev/null
+++ b/office/evince/patches/evince-2.32.0-use-popup.patch
@@ -0,0 +1,21 @@
+From 464ec9077f4bc709e50c83372c9d4e1703533efa Mon Sep 17 00:00:00 2001
+From: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sun, 20 Feb 2011 10:29:19 +0000
+Subject: libview: Use a popup window instead of a toplevel for loading window
+
+Fixes focus stealing when scrolling. See bug #633475.
+---
+diff --git a/libview/ev-loading-window.c b/libview/ev-loading-window.c
+index b413431..94576ee 100644
+--- a/libview/ev-loading-window.c
++++ b/libview/ev-loading-window.c
+@@ -266,6 +266,7 @@ ev_loading_window_new (GtkWindow *parent)
+ g_return_val_if_fail (GTK_IS_WINDOW (parent), NULL);
+
+ window = g_object_new (EV_TYPE_LOADING_WINDOW,
++ "type", GTK_WINDOW_POPUP,
+ "parent", parent,
+ NULL);
+ return window;
+--
+cgit v0.9