[kupfer: 17/20] plugin.services: Sort services lexically



commit 420f8673f8a1ec292e40c30ce203910660c10fa2
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Oct 6 23:30:19 2009 +0200

    plugin.services: Sort services lexically

 kupfer/plugin/services.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/services.py b/kupfer/plugin/services.py
index 9be988c..54ca723 100644
--- a/kupfer/plugin/services.py
+++ b/kupfer/plugin/services.py
@@ -122,6 +122,9 @@ class SystemServicesSource(Source, FilesystemWatchMixin, PicklingHelperMixin):
 
 			yield Service(file_path, _("%s Service") % filename)
 
+	def should_sort_lexically(self):
+		return True
+
 	def get_icon_name(self):
 		return "applications-system"
 



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