]> granicus.if.org Git - python/commitdiff
Fix typo and update comment obsoleted by 'syntax' patch
authorKurt B. Kaiser <kbk@shore.net>
Tue, 22 Nov 2005 02:17:10 +0000 (02:17 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Tue, 22 Nov 2005 02:17:10 +0000 (02:17 +0000)
Lib/idlelib/CallTipWindow.py

index 09d6414f62ef462110007154c454624635e7a89d..afd4439a7df26b1e4e8d17189b97ad1ed3bf2054 100644 (file)
@@ -6,7 +6,7 @@ Used by the CallTips IDLE extension.
 """
 from Tkinter import *
 
-HIDE_VIRTUAL_EVENT_NAME = "<<caltipwindow-hide>>"
+HIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-hide>>"
 HIDE_SEQUENCES = ("<Key-Escape>", "<FocusOut>")
 CHECKHIDE_VIRTUAL_EVENT_NAME = "<<calltipwindow-checkhide>>"
 CHECKHIDE_SEQUENCES = ("<KeyRelease>", "<ButtonRelease>")
@@ -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