Reviewers: ,
Please review this at http://codereview.tryton.org/221001/ Affected files: M tryton/gui/main.py Index: tryton/gui/main.py =================================================================== --- a/tryton/gui/main.py +++ b/tryton/gui/main.py @@ -177,15 +177,11 @@ # Due to a bug in old version of pyGTk gtk-button-images can # not be set when there is no buttons gtk.Button() - for setting, value in ( - ('gtk-button-images', True), - ('gtk-can-change-accels', - CONFIG['client.can_change_accelerators']), - ('gtk-keynav-cursor-only', True)): - try: - settings.set_property(setting, value) - except TypeError: - pass + try: + settings.set_property('gtk-can-change-accels', + CONFIG['client.can_change_accelerators']) + except TypeError: + pass self.sig_statusbar_show() -- [email protected] mailing list
