Bug 536092 – GtkEntryCompletion's popup window should set type hint

* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
        a type hint on the popup window to help compiz.
        Patch by Vaclav Slavik.


svn path=/trunk/; revision=20294
This commit is contained in:
Matthias Clasen
2008-06-03 02:48:37 +00:00
parent 03e6bf29ab
commit 16a43727fa
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2008-06-02 Matthias Clasen <mclasen@redhat.com>
Bug 536092 GtkEntryCompletion's popup window should set type hint
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
a type hint on the popup window to help compiz.
Patch by Vaclav Slavik.
2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
Bug 535862 gtk_action_create_icon can't create icons from the

View File

@ -505,6 +505,7 @@ gtk_entry_completion_init (GtkEntryCompletion *completion)
/* pack it all */
priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_resizable (GTK_WINDOW (priv->popup_window), FALSE);
gtk_window_set_type_hint(GTK_WINDOW(priv->popup_window), GDK_WINDOW_TYPE_HINT_COMBO);
g_signal_connect (priv->popup_window, "key_press_event",
G_CALLBACK (gtk_entry_completion_popup_key_event),
completion);