[gedit/gnome-3-8] quickopen: correctly reverse the list
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-8] quickopen: correctly reverse the list
- Date: Sat, 20 Apr 2013 07:52:14 +0000 (UTC)
commit 7ae3ecdd675fea60cbb8e550bcbbadfb43b5dd32
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Apr 20 09:51:08 2013 +0200
quickopen: correctly reverse the list
plugins/quickopen/quickopen/virtualdirs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/quickopen/quickopen/virtualdirs.py b/plugins/quickopen/quickopen/virtualdirs.py
index d4b320c..54cd944 100644
--- a/plugins/quickopen/quickopen/virtualdirs.py
+++ b/plugins/quickopen/quickopen/virtualdirs.py
@@ -58,7 +58,7 @@ class RecentDocumentsDirectory(VirtualDirectory):
manager = Gtk.RecentManager.get_default()
items = manager.get_items()
- items.sort(key=lambda a: - a.get_visited(), reverse=True)
+ items.sort(key=lambda a: a.get_visited(), reverse=True)
added = 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]