]> www.fi.muni.cz Git - evince.git/commitdiff
Show the 'jump to page' window in the right GdkScreen. Fixes bug #560541.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 1 Mar 2009 17:16:35 +0000 (17:16 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 1 Mar 2009 17:16:35 +0000 (17:16 +0000)
2009-03-01  Carlos Garcia Campos  <carlosgc@gnome.org>

* libview/ev-view.c: (ev_view_goto_window_create):

Show the 'jump to page' window in the right GdkScreen. Fixes bug
#560541.

svn path=/trunk/; revision=3504

ChangeLog
libview/ev-view.c

index 9a93f8025c25a0c1bc48fb36c9d929ebcb482bf6..bd19399ceeb957aff638e15dd951a9385de9f91a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-03-01  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * libview/ev-view.c: (ev_view_goto_window_create):
+
+       Show the 'jump to page' window in the right GdkScreen. Fixes bug
+       #560541.
+       
 2009-03-01  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/ev-window.c: (ev_window_set_document),
index 4b3126153cda6a79140f34bca58b21c31cb96eda..146b229477a7b4cd0a28412a5018c6a0e0c16e5e 100644 (file)
@@ -3248,6 +3248,8 @@ ev_view_goto_window_create (EvView *view)
        }
 
        view->goto_window = gtk_window_new (GTK_WINDOW_POPUP);
+       gtk_window_set_screen (GTK_WINDOW (view->goto_window),
+                              gtk_widget_get_screen (GTK_WIDGET (view)));
 
        if (GTK_WINDOW (toplevel)->group)
                gtk_window_group_add_window (GTK_WINDOW (toplevel)->group,