Set window type hint on the search popup. (#522279, Danny Baumann)

2008-03-15  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Set window type hint on the search popup.  (#522279, Danny Baumann)



svn path=/trunk/; revision=19880
This commit is contained in:
Matthias Clasen 2008-03-15 04:51:48 +00:00 committed by Matthias Clasen
parent 3a2df1836e
commit a364f9d31c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
Set window type hint on the search popup. (#522279, Danny Baumann)
2008-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontextsimple.c: Emit preedit_start/_end as

View File

@ -10293,6 +10293,8 @@ gtk_tree_view_ensure_interactive_directory (GtkTreeView *tree_view)
gtk_window_group_add_window (GTK_WINDOW (toplevel)->group,
GTK_WINDOW (tree_view->priv->search_window));
gtk_window_set_type_hint (GTK_WINDOW (tree_view->priv->search_window),
GDK_WINDOW_TYPE_HINT_UTILITY);
gtk_window_set_modal (GTK_WINDOW (tree_view->priv->search_window), TRUE);
g_signal_connect (tree_view->priv->search_window, "delete_event",
G_CALLBACK (gtk_tree_view_search_delete_event),