Don't unselect when resizing

This was causing problems in Epiphany. Fixes bug 584805.
This commit is contained in:
Matthias Clasen 2009-06-05 20:11:44 -04:00
parent 8da1c40d72
commit dccfd423ca

View File

@ -1426,9 +1426,6 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
gtk_tree_view_columns_autosize (GTK_TREE_VIEW (completion->priv->tree_view));
gtk_widget_set_size_request (completion->priv->tree_view, width, items * height);
/* default on no match */
completion->priv->current_selected = -1;
if (actions)
{
gtk_widget_show (completion->priv->action_view);
@ -1498,6 +1495,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
gtk_widget_show_all (completion->priv->vbox);
/* default on no match */
completion->priv->current_selected = -1;
_gtk_entry_completion_resize_popup (completion);
toplevel = gtk_widget_get_toplevel (completion->priv->entry);