Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b703e7a

Browse files
committed
[[ Cleanup ]] Remove no longer used code from menu bar
1 parent a1d0a9d commit b703e7a

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

Toolset/palettes/menubar/revmenubar.livecodescript

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2367,27 +2367,6 @@ end markMenuItem
23672367

23682368
################################################################################
23692369

2370-
command revMenuBarUpdateRecentPaths
2371-
revIDECleanRecentPaths
2372-
2373-
local tRecentPathsMenu
2374-
put revIDEGetRecentPathsAsMenu() into tRecentPathsMenu
2375-
2376-
local tFileButtonText
2377-
put the text of button "File" of group "revMenuBar" of me into tFileButtonText
2378-
2379-
local tStart
2380-
set the wholeMatches to true
2381-
put lineOffset("Open Recent File", tFileButtonText) + 1 into tStart
2382-
set the wholeMatches to false
2383-
2384-
local tEnd
2385-
put lineOffset("&Close/W", tFileButtonText) - 1 into tEnd
2386-
put tRecentPathsMenu into line tStart to tEnd of tFileButtonText
2387-
set the text of button "File" of group "revMenuBar" of me to tFileButtonText
2388-
2389-
end revMenuBarUpdateRecentPaths
2390-
23912370
# OK-2007-05-03: Bug 4833.
23922371
# Parameters
23932372
# pObject : reference to the object to list handlers for

0 commit comments

Comments
 (0)