[gedit] quick open: do not include backups



commit 1d2321c16e6f45bf4d990c66e1590b05d79e9b0d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Apr 19 23:33:23 2013 +0200

    quick open: do not include backups

 plugins/quickopen/quickopen/popup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index aa66d09..b41c69c 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -160,7 +160,8 @@ class Popup(Gtk.Dialog):
                 if not entry:
                     break
 
-                entries.append((gfile.get_child(entry.get_name()), entry))
+                if not entry.get_is_backup():
+                    entries.append((gfile.get_child(entry.get_name()), entry))
         else:
             entries = ret
 


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