[kupfer] plugin.gnome_terminal: Should sort lexically
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.gnome_terminal: Should sort lexically
- Date: Tue, 24 Nov 2009 00:54:13 +0000 (UTC)
commit 82eabc7a11cba15c3282145a21bfaf6f3f669de0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Tue Nov 24 01:53:30 2009 +0100
plugin.gnome_terminal: Should sort lexically
Sort terminal profiles in alphabethical order (instead of arbitrary).
kupfer/plugin/gnome_terminal.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/gnome_terminal.py b/kupfer/plugin/gnome_terminal.py
index 347cd67..bc07d92 100644
--- a/kupfer/plugin/gnome_terminal.py
+++ b/kupfer/plugin/gnome_terminal.py
@@ -57,6 +57,9 @@ class SessionsSource(AppLeafContentMixin, Source, PicklingHelperMixin):
for entry in gc.all_dirs(GCONF_KEY):
yield Terminal(gc.get_string("%s/visible_name" % entry))
+ def should_sort_lexically(self):
+ return True
+
# Local Variables: ***
# python-indent: 8 ***
# indent-tabs-mode: t ***
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]