[Xfce4-commits] <ristretto:ristretto-0.0> Sort items in recently-used menu
Stephan Arts
noreply at xfce.org
Sun Oct 23 19:16:14 CEST 2011
Updating branch refs/heads/ristretto-0.0
to 33705411c4aea2d081e723dad34116a1e701e5a1 (commit)
from 7e5c0cc2954ae3939f129354bfac5815f782a296 (commit)
commit 33705411c4aea2d081e723dad34116a1e701e5a1
Author: Stephan Arts <stephan at xfce.org>
Date: Mon Jun 1 10:52:22 2009 +0200
Sort items in recently-used menu
src/main_window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index b8f6675..17eee26 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -372,6 +372,8 @@ rstto_main_window_init (RsttoMainWindow *window)
window->priv->pause_action = gtk_action_new ("pause", "_Pause", "Pause slideshow", GTK_STOCK_MEDIA_PAUSE);
window->priv->recent_action = gtk_recent_action_new_for_manager ("document-open-recent", "_Recently used", "Recently used", 0, GTK_RECENT_MANAGER(window->priv->recent_manager));
+ gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (window->priv->recent_action), GTK_RECENT_SORT_MRU);
+
/**
* Add a filter to the recent-chooser
*/
More information about the Xfce4-commits
mailing list