[kupfer] plugin.templates: Sort lexically



commit 8325f3de33766a30fef406457da89973d4bc05fd
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sun Nov 22 06:25:57 2009 +0100

    plugin.templates: Sort lexically
    
    I forgot to order the templates properly. They should sort in lexical
    order.

 kupfer/plugin/templates.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/templates.py b/kupfer/plugin/templates.py
index 41e1c4d..bfc12c0 100644
--- a/kupfer/plugin/templates.py
+++ b/kupfer/plugin/templates.py
@@ -103,6 +103,9 @@ class TemplatesSource (Source, PicklingHelperMixin, FilesystemWatchMixin):
 		except EnvironmentError, exc:
 			self.output_error(exc)
 
+	def should_sort_lexically(self):
+		return True
+
 	def get_description(self):
 		return None
 	def get_icon_name(self):



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