append -light to the default ubuntu profile

This commit is contained in:
Dustin Kirkland 2009-01-27 14:27:07 -05:00
commit 34a4d72c20

View file

@ -150,6 +150,9 @@ def profile(screen, size):
li = Listbox(height = 6, width = 60, returnExit = 1)
for choice in commands.getoutput('select-screen-profile -l').splitlines():
if choice == "ubuntu":
li.append(choice+("-light"), choice)
else:
li.append(choice, choice)
bb = ButtonBar(screen, ((_("Apply"), "apply"), (_("Cancel"), "cancel")), compact = 1)