summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-02-28 06:13:58 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-02-28 06:13:58 +0000
commitd65c585c284b1511b0922fcc801ec32852b965ef (patch)
tree003af0dc26fd698c006a850ccecd75306cd12a46 /gtk/gtkentrycompletion.c
parent544899759b777311d375a6aaca28fb1528380dd5 (diff)
downloadgtk+-d65c585c284b1511b0922fcc801ec32852b965ef.tar.gz
Keep popups on the right screen. Pointed out by Morten Welinder
* gtk/gtkentrycompletion.c: * gtk/gtknotebook.c: Keep popups on the right screen. Pointed out by Morten Welinder svn path=/trunk/; revision=22423
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index e0fdeca7a7..820449dc1a 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1510,7 +1510,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
gtk_tree_selection_unselect_all (gtk_tree_view_get_selection (GTK_TREE_VIEW (completion->priv->tree_view)));
gtk_tree_selection_unselect_all (gtk_tree_view_get_selection (GTK_TREE_VIEW (completion->priv->action_view)));
-
+
+ gtk_window_set_screen (GTK_WINDOW (completion->priv->popup_window),
+ gtk_widget_get_screen (completion->priv->entry));
gtk_widget_show (completion->priv->popup_window);