[kupfer] plugin.apt_tools: Sort package search results lexically
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.apt_tools: Sort package search results lexically
- Date: Wed, 28 Oct 2009 18:04:16 +0000 (UTC)
commit 0fe15bc3f941cc6e207356dd6b7e12cfd3a8bdb0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Oct 28 14:22:07 2009 +0100
plugin.apt_tools: Sort package search results lexically
kupfer/plugin/apt_tools.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/apt_tools.py b/kupfer/plugin/apt_tools.py
index 597910e..a6645a5 100644
--- a/kupfer/plugin/apt_tools.py
+++ b/kupfer/plugin/apt_tools.py
@@ -113,6 +113,9 @@ class PackageSearchSource (Source):
package, desc = line.split(" - ", 1)
yield Package(package, desc)
+ def should_sort_lexically(self):
+ return True
+
def provides(self):
yield TextLeaf
def get_icon_name(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]