shell: Fix entering the same panel twice
Manually this time. https://bugzilla.gnome.org/show_bug.cgi?id=684812
This commit is contained in:
parent
a6cb76eff8
commit
b3287e1b97
1 changed files with 2 additions and 1 deletions
|
@ -278,6 +278,7 @@ shell_show_overview_page (GnomeControlCenter *center)
|
|||
notebook_remove_page (priv->notebook, priv->current_panel_box);
|
||||
priv->current_panel = NULL;
|
||||
priv->current_panel_box = NULL;
|
||||
g_clear_pointer (&priv->current_panel_id, g_free);
|
||||
|
||||
/* clear the search text */
|
||||
g_free (priv->filter_string);
|
||||
|
@ -965,7 +966,7 @@ _shell_set_active_panel_from_id (CcShell *shell,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
g_free (priv->current_panel_id);
|
||||
g_clear_pointer (&priv->current_panel_id, g_free);
|
||||
|
||||
/* clear any custom widgets */
|
||||
_shell_remove_all_custom_widgets (priv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue