[meld] recent: Fix loading recently used files



commit ab3268c09077ddccd25c4615fdea31cc4a3fa025
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Wed Dec 18 06:54:14 2013 +1000

    recent: Fix loading recently used files

 meld/recent.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/recent.py b/meld/recent.py
index af7c78f..b4a20ed 100644
--- a/meld/recent.py
+++ b/meld/recent.py
@@ -127,7 +127,7 @@ class RecentFiles(object):
         """
         gio_file = Gio.File.new_for_uri(uri)
         path = gio_file.get_path()
-        if not gio_file.query_exists() or not path:
+        if not gio_file.query_exists(None) or not path:
             raise IOError("File does not exist")
 
         try:


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