summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2019-09-20 21:09:21 +0530
committerRobert Ancell <robert.ancell@gmail.com>2019-09-21 03:43:34 +0000
commit62c71763045e51862697942d2582185e8c61a9ef (patch)
tree207980430429ae80332b1e95176434e6e3dfe6fc /shell
parent366b5916eca138754c19ddf96112712d46b0ebaf (diff)
downloadgnome-control-center-62c71763045e51862697942d2582185e8c61a9ef.tar.gz
window: Set sidebar as the default visible child
This doesn't make any difference when the UI isn't folded. Otherwise (Eg., on small screens) the sidebar will be shown first instead of some panel.
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 8a6c6eeeb..593886d39 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -851,6 +851,7 @@ cc_window_constructed (GObject *object)
self);
update_headerbar_buttons (self);
+ hdy_leaflet_set_visible_child_name (HDY_LEAFLET (self->main_leaflet), "sidebar");
G_OBJECT_CLASS (cc_window_parent_class)->constructed (object);
}