summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-panel-list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index e122d94c3..76a978abc 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -1090,6 +1090,10 @@ cc_panel_list_add_sidebar_widget (CcPanelList *self,
gtk_stack_add_named (self->stack, widget, "custom-widget");
switch_to_view (self, CC_PANEL_LIST_WIDGET);
}
+ else if (self->view != CC_PANEL_LIST_PRIVACY)
+ {
+ switch_to_view (self, CC_PANEL_LIST_MAIN);
+ }
}
void