[gedit] quick open: do not include backups
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] quick open: do not include backups
- Date: Fri, 19 Apr 2013 21:33:40 +0000 (UTC)
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]