region: Be more thorough in cc_input_chooser_reset()
This should result in returning to the initial state as intended instead of keeping the filter entry shown and the filter applied. https://bugzilla.gnome.org/show_bug.cgi?id=765909
This commit is contained in:
parent
ff656743f4
commit
2e45eeaa36
1 changed files with 5 additions and 0 deletions
|
@ -1151,5 +1151,10 @@ cc_input_chooser_get_selected (GtkWidget *chooser,
|
|||
void
|
||||
cc_input_chooser_reset (GtkWidget *chooser)
|
||||
{
|
||||
CcInputChooserPrivate *priv = GET_PRIVATE (chooser);
|
||||
priv->showing_extra = FALSE;
|
||||
gtk_entry_set_text (GTK_ENTRY (priv->filter_entry), "");
|
||||
gtk_widget_hide (priv->filter_entry);
|
||||
g_clear_pointer (&priv->filter_words, g_strfreev);
|
||||
show_locale_rows (chooser);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue