[gnome-control-center] shell: sort the icons alphabetically



commit 6c0cbc9d40a15eabc32a439d51b08e69638d771a
Author: Thomas Wood <thos gnome org>
Date:   Sat Feb 12 19:21:43 2011 +0000

    shell: sort the icons alphabetically

 shell/cc-shell-model.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-shell-model.c b/shell/cc-shell-model.c
index 41bfc07..8f63801 100644
--- a/shell/cc-shell-model.c
+++ b/shell/cc-shell-model.c
@@ -112,6 +112,9 @@ cc_shell_model_init (CcShellModel *self)
   gtk_list_store_set_column_types (GTK_LIST_STORE (self),
                                    N_COLS, types);
 
+  gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (self), COL_NAME,
+                                        GTK_SORT_ASCENDING);
+
   g_signal_connect (G_OBJECT (gtk_icon_theme_get_default ()), "changed",
                     G_CALLBACK (icon_theme_changed), self);
 }



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