From 08531c0b6461187a7e01bcfb8492e5194f41534a Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Tue, 20 Apr 2004 14:36:58 +0000 Subject: [PATCH] Bugfix: Colour buttons in the Options boxes didn't work with some themes (Jonatan Liljedahl). git-svn-id: https://rox.svn.sourceforge.net/svnroot/rox/trunk/ROX-Lib2@3448 66de3db3-b00d-0410-b41b-f4738ad19bea --- Help/Changes | 5 +++++ python/rox/OptionsBox.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Help/Changes b/Help/Changes index 22390dd..24b7bec 100644 --- a/Help/Changes +++ b/Help/Changes @@ -3,6 +3,11 @@ by Thomas Leonard http://rox.sourceforge.net +20-Apr-2004 +~~~~~~~~~~~ +Bugfix: Colour buttons in the Options boxes didn't work with some themes + (Jonatan Liljedahl). + 17-Apr-2004 (Release 1.9.14) ~~~~~~~~~~~ Added ToggleItem (based on a patch from Ken Hayber). diff --git a/python/rox/OptionsBox.py b/python/rox/OptionsBox.py index 334826c..13d093c 100644 --- a/python/rox/OptionsBox.py +++ b/python/rox/OptionsBox.py @@ -707,7 +707,7 @@ class ColourButton(g.Button): self.dialog.connect('destroy', closed) self.dialog.connect('response', response) - c = self.get_style().bg[g.STATE_NORMAL] + c = self.c_box.get_style().bg[g.STATE_NORMAL] self.dialog.colorsel.set_current_color(c) self.dialog.show() -- 2.11.4.GIT