[evince] libview: Use a popup window instead of a toplevel for loading window
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] libview: Use a popup window instead of a toplevel for loading window
- Date: Sun, 20 Feb 2011 10:56:41 +0000 (UTC)
commit 464ec9077f4bc709e50c83372c9d4e1703533efa
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Feb 20 11:29:19 2011 +0100
libview: Use a popup window instead of a toplevel for loading window
Fixes focus stealing when scrolling. See bug #633475.
libview/ev-loading-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]