[meld] recent: Set contains bitfield so that the filter actually works



commit 8170d187ee8d791e11517afabd37c6f3cc6a4635
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Mar 23 08:28:38 2014 +1000

    recent: Set contains bitfield so that the filter actually works
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=726900

 meld/recent.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/recent.py b/meld/recent.py
index 71626d0..2998e6c 100644
--- a/meld/recent.py
+++ b/meld/recent.py
@@ -208,6 +208,7 @@ class RecentFiles(object):
             for attr in attrs:
                 filter_data[attr] = getattr(i, "get_" + attr)()
             filter_info = Gtk.RecentFilterInfo()
+            filter_info.contains = recent_filter.get_needed()
             for f, v in filter_data.iteritems():
                 # https://bugzilla.gnome.org/show_bug.cgi?id=695970
                 if isinstance(v, list):


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