From: Kurt B. Kaiser Date: Tue, 22 Nov 2005 02:17:10 +0000 (+0000) Subject: Fix typo and update comment obsoleted by 'syntax' patch X-Git-Tag: v2.5a0~1134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b148ca43d6006a4309a23e9ffd0b79be50b3945;p=thirdparty%2FPython%2Fcpython.git Fix typo and update comment obsoleted by 'syntax' patch --- diff --git a/Lib/idlelib/CallTipWindow.py b/Lib/idlelib/CallTipWindow.py index 09d6414f62ef..afd4439a7df2 100644 --- a/Lib/idlelib/CallTipWindow.py +++ b/Lib/idlelib/CallTipWindow.py @@ -6,7 +6,7 @@ Used by the CallTips IDLE extension. """ from Tkinter import * -HIDE_VIRTUAL_EVENT_NAME = "<>" +HIDE_VIRTUAL_EVENT_NAME = "<>" HIDE_SEQUENCES = ("", "") CHECKHIDE_VIRTUAL_EVENT_NAME = "<>" CHECKHIDE_SEQUENCES = ("", "") @@ -60,10 +60,7 @@ class CallTip: self.tipwindow = tw = Toplevel(self.widget) self.position_window() - # XXX 12 Dec 2002 KBK The following command has two effects: It removes - # the calltip window border (good) but also causes (at least on - # Linux) the calltip to show as a top level window, burning through - # any other window dragged over it. Also, shows on all viewports! + # remove border on calltip window tw.wm_overrideredirect(1) try: # This command is only needed and available on Tk >= 8.4.0 for OSX