[baobab/wip/vala: 9/53] sort the model by size by default



commit ed4309dfc46d88f57cf115074f182d68770cd20f
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 d8050e4..902fc2c 100644
--- a/src/baobab-scanner.vala
+++ b/src/baobab-scanner.vala
@@ -74,6 +74,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]