File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -255,21 +255,21 @@ namespace eval tk {
255255 # got moved to the requested location should use a y coordinate larger than the
256256 # height of the menubar (normally 23 pixels) and an x coordinate larger than the
257257 # width of the dock, if it happens to be on the left.
258- # menubarheight deals with this issue but may not be available from the test
258+ # testmenubarheight deals with this issue but may not be available from the test
259259 # environment, therefore provide a fallback here
260- if {[llength [info procs menubarheight ]] == 0} {
260+ if {[llength [info procs testmenubarheight ]] == 0} {
261261 if {[tk windowingsystem] ne " aqua" } {
262262 # Windows may overlap the menubar
263- proc menubarheight {} {
263+ proc testmenubarheight {} {
264264 return 0
265265 }
266266 } else {
267267 # Windows may not overlap the menubar
268- proc menubarheight {} {
268+ proc testmenubarheight {} {
269269 return 30 ; # arbitrary value known to be larger than the menubar height
270270 }
271271 }
272- namespace export menubarheight
272+ namespace export testmenubarheight
273273 }
274274 }
275275}
You can’t perform that action at this time.
0 commit comments