From e2fdc15953e26ca6c16b472488842f7b51741f8b Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 29 Dec 2009 09:05:15 -0600 Subject: [PATCH] byobu-select-profile, byobu-config: improve color selection with more informative color names and support screen default background/foreground colors, LP: #500669 --- byobu-config | 9 +-------- debian/changelog | 6 +++--- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/byobu-config b/byobu-config index 63f06d3c..422b21ef 100755 --- a/byobu-config +++ b/byobu-config @@ -142,14 +142,7 @@ def select_color(screen, size, layer): li = Listbox(height = 8, width = 60, scroll = 1, returnExit = 1) for choice in commands.getoutput('byobu-select-profile -l').splitlines(): - (intensity, color) = choice.split("_") - if choice == "light_grey": - choice_desc = "white" - elif intensity == "dark": - choice_desc = color - else: - choice_desc = "%s (light)" % color - li.append(choice_desc, choice) + li.append(choice, choice) bb = ButtonBar(screen, ((_("Apply"), "apply"), (_("Cancel"), "cancel", ESC)), compact = 1) diff --git a/debian/changelog b/debian/changelog index e1a57395..9cb5d53d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,9 +3,9 @@ byobu (2.43-0ubuntu1) lucid; urgency=low * byobu.1: improve putty bug documentation * profiles/common: monitor windows, showing "@" next to the window name, but don't print an "Activity" message - * byobu-select-profile: improve color selection with more informative - color names and support screen default background/foreground colors, - LP: #500669 + * byobu-select-profile, byobu-config: improve color selection with more + informative color names and support screen default background/foreground + colors, LP: #500669 -- Dustin Kirkland Wed, 23 Dec 2009 14:01:55 -0600