[gnome-color-manager] trivial: sort by ID so similar type of devices are next to one another
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: sort by ID so similar type of devices are next to one another
- Date: Tue, 10 Nov 2009 12:00:41 +0000 (UTC)
commit a8487e48dd6aff08207175afb7e45ddb2bc1d5e3
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 10 11:45:22 2009 +0000
trivial: sort by ID so similar type of devices are next to one another
src/gcm-prefs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index cc74611..16d3a73 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -499,7 +499,7 @@ gcm_prefs_add_devices_columns (GtkTreeView *treeview)
column = gtk_tree_view_column_new_with_attributes ("", renderer,
"markup", GPM_DEVICES_COLUMN_TITLE, NULL);
gtk_tree_view_column_set_sort_column_id (column, GPM_DEVICES_COLUMN_TITLE);
- gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (list_store_devices), GPM_DEVICES_COLUMN_TITLE, GTK_SORT_ASCENDING);
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (list_store_devices), GPM_DEVICES_COLUMN_ID, GTK_SORT_ASCENDING);
gtk_tree_view_append_column (treeview, column);
gtk_tree_view_column_set_expand (column, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]