[gnome-control-center] Shell: Go back to overview when setting panel to NULL
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Shell: Go back to overview when setting panel to NULL
- Date: Fri, 14 Jun 2013 09:52:06 +0000 (UTC)
commit 2f2c29ebff0cf701390dd6f9ae6c9832fead8888
Author: Xavier Claessens <xavier claessens collabora co uk>
Date: Mon Jun 10 14:38:59 2013 +0200
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
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 78b6cdd..7394436 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");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]