[gnome-disk-utility/udisks2-port] Use newly introduced sorting key for drives
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] Use newly introduced sorting key for drives
- Date: Mon, 15 Aug 2011 14:58:10 +0000 (UTC)
commit ddd4bda92251b0b46e0bda8fc3d878a3517c1e0c
Author: David Zeuthen <davidz redhat com>
Date: Mon Aug 15 10:57:57 2011 -0400
Use newly introduced sorting key for drives
Signed-off-by: David Zeuthen <davidz redhat com>
src/palimpsest/gdudevicetreemodel.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/palimpsest/gdudevicetreemodel.c b/src/palimpsest/gdudevicetreemodel.c
index bc05c46..3507d3a 100644
--- a/src/palimpsest/gdudevicetreemodel.c
+++ b/src/palimpsest/gdudevicetreemodel.c
@@ -529,9 +529,8 @@ update_drive (GduDeviceTreeModel *model,
"<small><span foreground=\"#555555\">%s</span></small>",
description,
name);
- /* for now */
- sort_key = g_strdup_printf ("00_drives_1_%s",
- g_dbus_object_get_object_path (G_DBUS_OBJECT (object)));
+
+ sort_key = g_strdup_printf ("00_drives_1_%s", udisks_drive_get_sort_key (drive));
gtk_tree_store_set (GTK_TREE_STORE (model),
&iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]