diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2016-05-22 11:35:59 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2016-06-03 12:32:36 -0300 |
commit | c47bc08b0645511b773864c8fc43d66b8db7dff3 (patch) | |
tree | 6b97e6323dce525dca8a822b95dcf422ac9b36af /shell | |
parent | c006198434c6e0f8ecd2304b787c72b2a7ee7fa1 (diff) | |
download | gnome-control-center-c47bc08b0645511b773864c8fc43d66b8db7dff3.tar.gz |
window: separate the panel selector
To progressively achieve the sidelist, let's start by moving
the current iconview selector to the side and then turning
it into a GtkListBox.
This commit, then, moves the iconviews' list to the start of
the horizontal box added in the previous commit.
https://bugzilla.gnome.org/show_bug.cgi?id=766922
Diffstat (limited to 'shell')
-rw-r--r-- | shell/alt/cc-window.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/alt/cc-window.c b/shell/alt/cc-window.c index d59269bf9..0349ef149 100644 --- a/shell/alt/cc-window.c +++ b/shell/alt/cc-window.c @@ -1431,7 +1431,14 @@ create_main_page (CcWindow *self) gtk_style_context_add_class (context, "view"); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (self->scrolled_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); - gtk_stack_add_named (GTK_STACK (self->stack), self->scrolled_window, OVERVIEW_PAGE); + + gtk_box_pack_start (GTK_BOX (self->main_hbox), self->scrolled_window, FALSE, FALSE, 0); + gtk_box_pack_start (GTK_BOX (self->main_hbox), gtk_separator_new (GTK_ORIENTATION_VERTICAL), FALSE, FALSE, 0); + + /* FIXME: this is just a placeholder widget to avoid breaking the code */ + gtk_stack_add_named (GTK_STACK (self->stack), + gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0), + OVERVIEW_PAGE); self->main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top (self->main_vbox, 8); |