[Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.23.4.13,
1.23.4.14 configDialog.py, 1.55, 1.55.6.1
kbk at users.sourceforge.net
kbk at users.sourceforge.net
Wed Jan 19 06:53:35 CET 2005
Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19376
Modified Files:
Tag: release23-maint
NEWS.txt configDialog.py
Log Message:
Backport configDialog.py rev 1.60:
Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535.
M NEWS.txt
M configDialog.py
Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.23.4.13
retrieving revision 1.23.4.14
diff -u -d -r1.23.4.13 -r1.23.4.14
--- NEWS.txt 19 Jan 2005 04:12:38 -0000 1.23.4.13
+++ NEWS.txt 19 Jan 2005 05:53:32 -0000 1.23.4.14
@@ -3,6 +3,10 @@
*Release date: XX-Jan-2005*
+- Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
+ button) caused IDLE to fail on restart (no new keyset was created in
+ config-keys.cfg). Also true for Theme/highlights. Python Bug 1064535.
+
- checking sys.platform for substring 'win' was breaking IDLE docs on Mac
(darwin). Also, Mac Safari browser requires full file:// URIs. Backport of
fix for SF 900580.
Index: configDialog.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/configDialog.py,v
retrieving revision 1.55
retrieving revision 1.55.6.1
diff -u -d -r1.55 -r1.55.6.1
--- configDialog.py 9 Jul 2003 18:48:24 -0000 1.55
+++ configDialog.py 19 Jan 2005 05:53:32 -0000 1.55.6.1
@@ -1143,6 +1143,9 @@
cfgTypeHasChanges = True
if cfgTypeHasChanges:
idleConf.userCfg[configType].Save()
+ for configType in ['keys', 'highlight']:
+ # save these even if unchanged!
+ idleConf.userCfg[configType].Save()
self.ResetChangedItems() #clear the changed items dict
def ActivateConfigChanges(self):
More information about the Python-checkins
mailing list