summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2023-01-09 16:40:55 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2023-01-09 16:40:55 -0300
commit20a010d0f6b106b6cc4a91774e986c5f685eb55a (patch)
tree5ea9897f19d2b5801422fb0f926a2ab8f66e42af /shell
parent6bcfb28f67b7adc7ddb672a680340d1e27bb3f91 (diff)
downloadgnome-control-center-20a010d0f6b106b6cc4a91774e986c5f685eb55a.tar.gz
Revert "panel-list: Switch to main list if custom sidebar is not set"
This reverts commit bc919b82c03ab3595b3ac0cf49c9e29aef9bde9a.
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-panel-list.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index 91b0f70b6..e122d94c3 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -1090,10 +1090,6 @@ 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
- {
- switch_to_view (self, CC_PANEL_LIST_MAIN);
- }
}
void