[baobab/wip/vala: 8/39] sort the model by size by default



commit e91d1ba9da5b80ff6fb02d6605a178412dadc562
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Jan 5 20:38:38 2012 -0500

    sort the model by size by default

 src/baobab-scanner.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/baobab-scanner.vala b/src/baobab-scanner.vala
index 1e048e4..8beabd4 100644
--- a/src/baobab-scanner.vala
+++ b/src/baobab-scanner.vala
@@ -55,6 +55,7 @@ namespace Baobab {
 			                  typeof (uint64),  /* ALLOC_SIZE */
 			                  typeof (int),     /* ELEMENTS */
 			                  typeof (State)}); /* STATE */
+			set_sort_column_id (Columns.SIZE, Gtk.SortType.DESCENDING);
 		}
 	}
 }



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