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
This commit is contained in:
parent
544899759b
commit
d65c585c28
@ -1,3 +1,11 @@
|
||||
2009-02-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 573211 – Setting screen for popup windows
|
||||
|
||||
* gtk/gtkentrycompletion.c:
|
||||
* gtk/gtknotebook.c: Keep popups on the right screen.
|
||||
Pointed out by Morten Welinder
|
||||
|
||||
2009-02-28 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 573113 – Can't build tests due to testfilechooserbutton.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);
|
||||
|
||||
|
@ -3218,6 +3218,8 @@ gtk_notebook_drag_begin (GtkWidget *widget,
|
||||
gtk_widget_unparent (tab_label);
|
||||
|
||||
priv->dnd_window = gtk_window_new (GTK_WINDOW_POPUP);
|
||||
gtk_window_set_screen (GTK_WINDOW (priv->dnd_window),
|
||||
gtk_widget_get_screen (widget));
|
||||
gtk_container_add (GTK_CONTAINER (priv->dnd_window), tab_label);
|
||||
gtk_widget_set_size_request (priv->dnd_window,
|
||||
priv->detached_tab->allocation.width,
|
||||
|
Loading…
Reference in New Issue
Block a user