summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configDialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-10-04 04:31:23 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-10-04 04:31:23 (GMT)
commitcd49a7de4a00b1f94aabe5598c3da9ebd0d0c50d (patch)
tree596a7495da0301cbec263fb3502310f04458c2f4 /Lib/idlelib/configDialog.py
parent67618272aeacea6cc12882cbd09564bdddd3d771 (diff)
parentbe5b7a24371008d6ddc811e90e33e9c1895f9681 (diff)
downloadcpython-cd49a7de4a00b1f94aabe5598c3da9ebd0d0c50d.zip
cpython-cd49a7de4a00b1f94aabe5598c3da9ebd0d0c50d.tar.gz
cpython-cd49a7de4a00b1f94aabe5598c3da9ebd0d0c50d.tar.bz2
Merge with 3.4
Diffstat (limited to 'Lib/idlelib/configDialog.py')
-rw-r--r--Lib/idlelib/configDialog.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index b987293..94a9fb8 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -507,6 +507,20 @@ class ConfigDialog(Toplevel):
def VarChanged_builtinTheme(self, *params):
value = self.builtinTheme.get()
+ if value == 'IDLE Dark':
+ tkMessageBox.showwarning(
+ title="The 'IDLE Dark' Text Color Theme",
+ message="IDLE Dark is new in October, 2015. Trying to "
+ "run earlier versions of IDLE with it selected "
+ "will disable colorizing, or worse.\n\n"
+ "If you might ever run an earlier release of IDLE, "
+ "then before exiting this version, "
+ "either switch to another theme or "
+ "hit the 'Save as New Custom Theme' button. "
+ "The latter requires a new name, such as "
+ "'Custom Dark', but the custom theme will work "
+ "with any IDLE release, and can be modified.",
+ parent=self)
self.AddChangedItem('main', 'Theme', 'name', value)
self.PaintThemeSample()