[Python-checkins] r65541 - sandbox/trunk/ttk-gsoc/src/idlelib/configDialog.py
guilherme.polo
python-checkins at python.org
Tue Aug 5 03:54:07 CEST 2008
Author: guilherme.polo
Date: Tue Aug 5 03:54:07 2008
New Revision: 65541
Log:
Call set_theme only if Ttk is being used
Modified:
sandbox/trunk/ttk-gsoc/src/idlelib/configDialog.py
Modified: sandbox/trunk/ttk-gsoc/src/idlelib/configDialog.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/configDialog.py (original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/configDialog.py Tue Aug 5 03:54:07 2008
@@ -1255,7 +1255,8 @@
instance.set_notabs_indentwidth()
instance.ApplyKeybindings()
instance.reset_help_menu_entries()
- instance.set_theme(self.ttkstyle)
+ if TTK:
+ instance.set_theme(self.ttkstyle)
def Cancel(self):
self.destroy()
More information about the Python-checkins
mailing list