change the menu shortcuts so that file|close becomes <menukey>-shift-w when there

are multiple tabs (instead of just going away)
This commit is contained in:
Robby Findler 2011-08-25 12:29:26 -05:00
parent 9817820e4c
commit 701ea003e7

View File

@ -2997,7 +2997,9 @@ module browser threading seems wrong.
(send item set-label (if just-one?
(string-constant close-menu-item)
(string-constant close)))
(send item set-shortcut (if just-one? #\w #f))))
(send item set-shortcut-prefix (if just-one?
(get-default-shortcut-prefix)
(cons 'shift (get-default-shortcut-prefix))))))
;; offer-to-save-file : path -> void
;; bring the tab that edits the file named by `path' to the front