[gnome-disk-utility] Use flat list in device tree



commit 6b7cabe4456c778e31b47171dc2a0ce884804063
Author: David Zeuthen <zeuthen gmail com>
Date:   Sat Jan 18 15:53:36 2014 -0800

    Use flat list in device tree
    
    Signed-off-by: David Zeuthen <zeuthen gmail com>

 src/disks/gduwindow.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index eec29c7..c437452 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -1073,7 +1073,8 @@ gdu_window_constructed (GObject *object)
 
   window->model = gdu_device_tree_model_new (window->application,
                                              GDU_DEVICE_TREE_MODEL_FLAGS_UPDATE_POWER_STATE |
-                                             GDU_DEVICE_TREE_MODEL_FLAGS_UPDATE_PULSE);
+                                             GDU_DEVICE_TREE_MODEL_FLAGS_UPDATE_PULSE |
+                                             GDU_DEVICE_TREE_MODEL_FLAGS_FLAT);
 
   gtk_tree_view_set_model (GTK_TREE_VIEW (window->device_tree_treeview), GTK_TREE_MODEL (window->model));
   gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (window->model),


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