Closed Bug 599731 Opened 14 years ago Closed 13 years ago

Move "Recently Closed" menus to Go menu

Categories

(SeaMonkey :: Bookmarks & History, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.5

People

(Reporter: akilaa, Assigned: ewong)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3 Build Identifier: I think that the "Recently Closed Tabs" and the "Recently Closed Windows" menus should be moved from the File menu to the Go menu.The reasons: * They are not related to the current page, but they are rather a part of the "browsing history" in the broader sense. *The File menu typically contains items that are related to opening or saving files. Reproducible: Always
I'm working on porting on demand restore session, deciding where to place it's menu entry. My first though is File menu, bug i decided to place it to Go menu. Also i propose rename Go menu to History, which will better reflect it's entries.
> Also i propose rename Go menu to History, which will better reflect it's > entries. I agree, but you should probably file a separate bug about that.
Valid request, so confirming. Doesn't need to be decided now, though.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Attached patch Moved "Recently Closed" menus to Go Menu. (obsolete) (deleted) — Splinter Review
Attachment #544465 - Flags: review?(iann_bugzilla)
Comment on attachment 544465 [details] [diff] [review] Moved "Recently Closed" menus to Go Menu. >+++ b/suite/browser/navigatorOverlay.xul >+ <menu label="&recentTabs.label;" >+ accesskey="&recentTabs.accesskey;" >+ id="menu_recentTabs"> Nit: I'd prefer the id to be first. >+ <menupopup id="menu_recentTabsPopup" >+ onpopupshowing="updateRecentTabs(this);" >+ oncommand="gBrowser.undoCloseTab(event.target.value);"/> >+ </menu> >+ <menu label="&recentWindows.label;" >+ accesskey="&recentWindows.accesskey;" >+ id="menu_recentWindows"> Nit: id first please >+++ b/suite/locales/en-US/chrome/browser/navigator.dtd >@@ -14,22 +14,16 @@ >+<!ENTITY recentTabs.label "Recently Closed Tabs"> >+<!ENTITY recentTabs.accesskey "R"> You will have to change this accesskey, perhaps "C", as "Restore Previous Session" already uses "R". >+<!ENTITY recentTabs.commandkey "t"> >+<!ENTITY recentWindows.label "Recently Closed Windows"> >+<!ENTITY recentWindows.accesskey "y"> >+<!ENTITY recentWindows.commandkey "y"> > <!ENTITY historyRestoreLastSession.label "Restore Previous Session"> > <!ENTITY historyRestoreLastSession.accesskey "R"> Does help need changing to reflect this new menu structure?
Attachment #544465 - Flags: review?(iann_bugzilla) → review+
(In reply to comment #5) > Does help need changing to reflect this new menu structure? Filed bug #670513.
Depends on: 670513
Attachment #544465 - Attachment is obsolete: true
Attachment #545069 - Flags: review?(iann_bugzilla)
Attachment #545069 - Flags: review?(iann_bugzilla) → review+
Keywords: checkin-needed
Comment on attachment 545069 [details] [diff] [review] Moved "Recently Closed" menus to Go Menu.(v2) [Checked in: Comment 9] http://hg.mozilla.org/comm-central/rev/b1075fd310df
Attachment #545069 - Attachment description: Moved "Recently Closed" menus to Go Menu.(v2) → Moved "Recently Closed" menus to Go Menu.(v2) [Checked in: Comment 9]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.5
(In reply to comment #5) >(From update of attachment 544465 [details] [diff] [review]) >>+<!ENTITY recentTabs.label "Recently Closed Tabs"> >>+<!ENTITY recentTabs.accesskey "R"> >You will have to change this accesskey, perhaps "C", as "Restore Previous >Session" already uses "R". Why not "T"? Would it make sense to group all the session restore items together?
(In reply to comment #10) > (In reply to comment #5) > >(From update of attachment 544465 [details] [diff] [review] [diff] [details] [review]) > >>+<!ENTITY recentTabs.label "Recently Closed Tabs"> > >>+<!ENTITY recentTabs.accesskey "R"> > >You will have to change this accesskey, perhaps "C", as "Restore Previous > >Session" already uses "R". > Why not "T"? I do keep forgetting that "T" has a fairly wide underscore when an accesskey. > > Would it make sense to group all the session restore items together? Indeed that is an option, could both be done in a spin off bug...
(In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #5) > > >(From update of attachment 544465 [details] [diff] [review]) > > >>+<!ENTITY recentTabs.label "Recently Closed Tabs"> > > >>+<!ENTITY recentTabs.accesskey "R"> > > >You will have to change this accesskey, perhaps "C", as "Restore Previous > > >Session" already uses "R". > > Why not "T"? > I do keep forgetting that "T" has a fairly wide underscore when an accesskey. > > Would it make sense to group all the session restore items together? > Indeed that is an option, could both be done in a spin off bug... Of course. I only mention it because I had to build Firefox to debug bug 671466 and I liked the order that they've put their menuitems in.
(In reply to comment #11) > > Would it make sense to group all the session restore items together? > Indeed that is an option, could both be done in a spin off bug... Spun off bug #675589.
The code to enable and disable the menus was unfortunately hidden away at the end of updateCloseItems. This needs to be moved into a new function so that it can be called from the go popup.
Depends on: 675672
The relevant code to be moved starts at http://mxr.mozilla.org/comm-central/source/suite/browser/navigator.js#1500 You will need to add a onpopupshowing to the "history-menu" http://mxr.mozilla.org/comm-central/source/suite/browser/navigatorOverlay.xul#380 This could probably be done in bug 675672 as part of that work.
Depends on: 702297
Keywords: relnote
added bug 599731 / bug 702297 to Known Issues Checking in seamonkey2.5/index.en.html; /www/seamonkeyproject-org/src/releases/seamonkey2.5/index.en.html,v <-- index.en.html new revision: 1.10; previous revision: 1.9 done
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: