Config file item change: buttonlist -> buttons

This commit is contained in:
Andrew Williams
2009-01-17 22:35:27 +00:00
parent fdca248d98
commit db18f95682
2 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
[looks]
buttontheme = oxygen
opacity = 50
bgcolor = black
buttontheme = oxygen
buttons = cancel, logout, restart, shutdown, suspend, lock

View File

@@ -90,8 +90,7 @@ class OpenboxLogout():
for button in self.button_list:
self.add_button(button, self.buttonpanel)
if self.rendered_effects == True:
if self.rendered_effects == True:
self.logger.debug("Stepping though render path")
w = gtk.gdk.get_default_root_window()
sz = w.get_size()
@@ -190,7 +189,7 @@ class OpenboxLogout():
validbuttons = ['cancel', 'logout', 'restart', 'shutdown', 'suspend', 'hibernate', 'safesuspend', 'lock', 'switch']
try:
blist = self.parser.get("looks", "buttonlist")
blist = self.parser.get("looks", "buttons")
except:
blist = ""