[gtk+/bgo593793-filechooser-recent-folders-master] bgo#657186 - Sort the recent-files list in newest-to-oldest order
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/bgo593793-filechooser-recent-folders-master] bgo#657186 - Sort the recent-files list in newest-to-oldest order
- Date: Fri, 26 Aug 2011 17:45:17 +0000 (UTC)
commit a265fb763bf3e57ee40a60bfff098a5f29ef5fa2
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Aug 26 12:32:00 2011 -0500
bgo#657186 - Sort the recent-files list in newest-to-oldest order
Otherwise it's not very useful... :)
Signed-off-by: Federico Mena Quintero <federico gnome org>
gtk/gtkfilechooserdefault.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index ad79631..eec2797 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -9312,6 +9312,7 @@ recent_idle_cleanup (gpointer data)
gtk_tree_view_set_model (GTK_TREE_VIEW (impl->browse_files_tree_view),
GTK_TREE_MODEL (impl->recent_model));
file_list_set_sort_column_ids (impl);
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (impl->recent_model), MODEL_COL_MTIME, GTK_SORT_DESCENDING);
set_busy_cursor (impl, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]