[gnome-control-center] window: Set sidebar as the default visible child
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] window: Set sidebar as the default visible child
- Date: Sat, 21 Sep 2019 03:49:12 +0000 (UTC)
commit 62c71763045e51862697942d2582185e8c61a9ef
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Fri Sep 20 21:09:21 2019 +0530
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.
shell/cc-window.c | 1 +
1 file changed, 1 insertion(+)
---
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]