[gnome-control-center/wip/gbsneto/list-layout: 4/15] category-view: set the maximum number of columns to 1
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/list-layout: 4/15] category-view: set the maximum number of columns to 1
- Date: Sun, 22 May 2016 17:31:27 +0000 (UTC)
commit 3a522012f30da7636d2921ab746fe6bc1935c7bd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun May 22 11:48:29 2016 -0300
category-view: set the maximum number of columns to 1
During the transition phase, it's important to notice how
the overall window will behave. After moving the panel
selector to a sidelist, the next logical step is to make
it behave more like a sidelist.
To make that, set the maximum number of columns to 1.
shell/cc-shell-category-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/cc-shell-category-view.c b/shell/cc-shell-category-view.c
index 4167447..75a39dc 100644
--- a/shell/cc-shell-category-view.c
+++ b/shell/cc-shell-category-view.c
@@ -139,7 +139,7 @@ cc_shell_category_view_constructed (GObject *object)
gtk_icon_view_set_text_column (GTK_ICON_VIEW (iconview), COL_NAME);
gtk_icon_view_set_item_width (GTK_ICON_VIEW (iconview), 100);
cc_shell_item_view_update_cells (CC_SHELL_ITEM_VIEW (iconview));
- gtk_icon_view_set_columns (GTK_ICON_VIEW (iconview), 6);
+ gtk_icon_view_set_columns (GTK_ICON_VIEW (iconview), 1);
/* create the header if required */
if (priv->name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]