From db18f95682fe665f70548c39bc0dbeed8b8f10e9 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sat, 17 Jan 2009 22:35:27 +0000 Subject: [PATCH] Config file item change: buttonlist -> buttons --- openbox-logout.conf | 4 +++- openboxlogout/openboxlogout.py | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/openbox-logout.conf b/openbox-logout.conf index a7e814f..6344ba7 100644 --- a/openbox-logout.conf +++ b/openbox-logout.conf @@ -1,4 +1,6 @@ [looks] -buttontheme = oxygen opacity = 50 bgcolor = black + +buttontheme = oxygen +buttons = cancel, logout, restart, shutdown, suspend, lock diff --git a/openboxlogout/openboxlogout.py b/openboxlogout/openboxlogout.py index ab5c1a8..0ef0ad6 100644 --- a/openboxlogout/openboxlogout.py +++ b/openboxlogout/openboxlogout.py @@ -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 = ""