Commit 6a40c248 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Add the popup window to the toplevels window group. (#319912, Christian

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
	window to the toplevels window group.  (#319912, Christian Persch)
parent c50df41b
2005-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
window to the toplevels window group. (#319912, Christian Persch)
2005-10-28 Kristian Rietveld <kris@gtk.org> 2005-10-28 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix
......
2005-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
window to the toplevels window group. (#319912, Christian Persch)
2005-10-28 Kristian Rietveld <kris@gtk.org> 2005-10-28 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix
......
...@@ -1417,6 +1417,7 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion) ...@@ -1417,6 +1417,7 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
{ {
GtkTreeViewColumn *column; GtkTreeViewColumn *column;
GList *renderers; GList *renderers;
GtkWidget *toplevel;
if (GTK_WIDGET_MAPPED (completion->priv->popup_window)) if (GTK_WIDGET_MAPPED (completion->priv->popup_window))
return; return;
...@@ -1438,6 +1439,11 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion) ...@@ -1438,6 +1439,11 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
_gtk_entry_completion_resize_popup (completion); _gtk_entry_completion_resize_popup (completion);
toplevel = gtk_widget_get_toplevel (completion->priv->entry);
if (GTK_IS_WINDOW (toplevel))
gtk_window_group_add_window (_gtk_window_get_group (GTK_WINDOW (toplevel)),
GTK_WINDOW (completion->priv->popup_window));
gtk_widget_show (completion->priv->popup_window); gtk_widget_show (completion->priv->popup_window);
gtk_grab_add (completion->priv->popup_window); gtk_grab_add (completion->priv->popup_window);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment