TermLauncher Applet 0.0.3
January 27, 2008 – 1:22 pm
This is a bug fix release which fixes an issue with the applet not shutting down cleanly when a user logs off. I’ve also cleaned up the source package to allow an Ubuntu package to be created – thanks to Mitsuya Shibata.
Download: TermLauncherApplet-0.0.3.tar.gz


One Response to “TermLauncher Applet 0.0.3”
The sorting by name doesn’t work for me since for some reason my profiles in the profile_list were named Profile0, Profile1, Profile2, etc. Drove me nuts for a long time. gnome-terminal seems to use the visible name everywhere, so… Here’s a small patch against 0.0.3 to sort the profiles by visible name instead. Let me know if you can integrate it. Thanks!
—————
— termlauncher_applet.bak 2008-02-13 16:51:32.000000000 -0600
+++ termlauncher_applet 2009-04-27 13:27:16.000000000 -0500
@@ -100,8 +100,15 @@
self.menuxml = “”
i = 1
+ profd = {}
for p in self.profiles:
- name = self.get_visible_name(p)
+ profd[(self.get_visible_name(p))] = p
+
+ profk = profd.keys()
+ profk.sort(key=string.upper)
+ for p in profk:
+ name = self.get_visible_name(profd[p])
self.verbs.append((name, self.menu_select))
self.menuxml = “%s\n” % (self.menuxml, i, name, name)
i += 1
By Ray DeJean on Apr 27, 2009