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



commit 5e908019c20fbf0eb9242fb81cece49d113f541e
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]