[gnome-control-center/gnome-3-10] shell: Set iconview number of columns to 6



commit 56d88c35b17d93b173cafa62aa9cd7c65888f99b
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 26 15:25:41 2013 +0100

    shell: Set iconview number of columns to 6
    
    This ensures that the overview page keeps its size and doesn't grow
    wider than it should be.

 shell/cc-shell-category-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-shell-category-view.c b/shell/cc-shell-category-view.c
index 4b05d8c..d7094ab 100644
--- a/shell/cc-shell-category-view.c
+++ b/shell/cc-shell-category-view.c
@@ -138,6 +138,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);
 
   /* create the header if required */
   if (priv->name)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]