[glide] Filter recent based on mime-type



commit 960bc8c292fa2a0d390766ebd3bfeb4c5502c1ff
Author: Robert Carr <racarr Valentine localdomain>
Date:   Sat May 1 21:09:30 2010 -0400

    Filter recent based on mime-type

 src/glide-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/glide-window.c b/src/glide-window.c
index a7b5abc..7e663a8 100644
--- a/src/glide-window.c
+++ b/src/glide-window.c
@@ -1625,7 +1625,7 @@ glide_window_insert_recent_menu_item (GlideWindow *w)
   GtkWidget *men = gtk_recent_chooser_menu_new_for_manager (w->priv->recent_manager);
   GtkMenuItem *recent_menu_item = GTK_MENU_ITEM (GLIDE_WINDOW_UI_OBJECT (w, "open-recent-menuitem"));
   
-  gtk_recent_filter_add_application (filter, "Glide");
+  gtk_recent_filter_add_mime_type (filter, "application-x/glide");
   gtk_recent_chooser_set_filter (GTK_RECENT_CHOOSER (men), filter);
   
   g_signal_connect (men, "item-activated", G_CALLBACK (glide_window_recent_item_activated), w);



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