Closed
Bug 521893
Opened 15 years ago
Closed 15 years ago
Why do we have both manageHistory: and showHistory:?
Categories
(Camino Graveyard :: History, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: alqahira, Unassigned)
Details
[2:51pm] cl: why do we have two different action names for history, anyway?
[2:51pm] cl: showHistory vs manageHistory
[2:51pm] cl: wouldn't it be better if we just had one?
[2:52pm] ardissone: i'd say so :P
MainMenu.nib is picking up MainController's showHistory:, which, uh, calls BWC's manageHistory:, whereas the toolbar button calls manageHistory: directly.
Reporter | ||
Comment 1•15 years ago
|
||
As Stuart noted the other night, showHistory: (the menu) makes sure that we have a BrowserWindow before calling manageHistory: and creates one if there's not one. Since the toolbar button is by its very nature part of a browser window, it's not necessary for it to do the extra work.
I think we probably just need to suck it up and validate both separately.
Reporter | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> I think we probably just need to suck it up and validate both separately.
Which is more-or-less what we did in bug 316835.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•