diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-06-10 14:38:59 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-06-14 11:51:47 +0200 |
commit | 2f2c29ebff0cf701390dd6f9ae6c9832fead8888 (patch) | |
tree | 196890977039573221236fb865b5bba95a8c3ab5 /shell | |
parent | 27371a542a5d88cddfc8f32dd686ce08a1e37fdb (diff) | |
download | gnome-control-center-2f2c29ebff0cf701390dd6f9ae6c9832fead8888.tar.gz |
Shell: Go back to overview when setting panel to NULL
This is what cc_shell_set_active_panel()'s doc says it
is supposed to do.
https://bugzilla.gnome.org/show_bug.cgi?id=701929
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cc-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/cc-window.c b/shell/cc-window.c index 78b6cdd93..739443640 100644 --- a/shell/cc-window.c +++ b/shell/cc-window.c @@ -1069,6 +1069,10 @@ set_active_panel (CcWindow *shell, { shell->priv->active_panel = g_object_ref (panel); } + else + { + shell_show_overview_page (shell); + } g_object_notify (G_OBJECT (shell), "active-panel"); } } |