Closed
Bug 73666
Opened 23 years ago
Closed 23 years ago
Double cancel buttons in profile manager
Categories
(SeaMonkey :: Startup & Profiles, defect)
SeaMonkey
Startup & Profiles
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: tracy, Assigned: bugzilla)
References
()
Details
Attachments
(6 files)
1.26 KB,
patch
|
Details | Diff | Splinter Review | |
2.36 KB,
patch
|
Details | Diff | Splinter Review | |
2.36 KB,
patch
|
Details | Diff | Splinter Review | |
1.30 KB,
patch
|
Details | Diff | Splinter Review | |
1.14 KB,
patch
|
Details | Diff | Splinter Review | |
1.14 KB,
patch
|
Details | Diff | Splinter Review |
seen again on commercial builds: windows 2001-03-27-06-trunk linux 2001-03-27-05-mtrunk mac 2001-03-27-12-trunk -highlight a profile to delete -click delete profile a dialogue comes up with three buttons: "okay" and two "cancel" one of the two cancel buttons used to be "delete files"
Comment 2•23 years ago
|
||
9 try { 10 okButton.setAttribute("value", bundle.getString("dontDeleteFiles")); 11 Button2.setAttribute("value", bundle.getString("deleteFiles")); 12 cancelButton.setAttribute("value", bundle.getString("cancel")); 13 } catch(e) { ... "label" not "value", encore fois.
Blake, Ben - please review.
Shoot, I need to update my tree (this has the "Yah" stuff.) Just a sec.
Okay, so that "Yah" stuff in the attributes is present (my tree was up-to-date). These labels aren't ever apparent to the user, so I guess they're fine as is.
Comment 7•23 years ago
|
||
r=Yah, baby!
Assignee | ||
Comment 8•23 years ago
|
||
...Not that those fallback defaults should even exist, but how about removing those `Yah's while you're at it? mao, is there any chance you overwrote these changes in another checkin? I thought I fixed these cases already. r=blake
Comment 9•23 years ago
|
||
blake, cvs log says I'm ok, the file never got updated. As far as the Yah's go, cvs log sez: v1.2: Workaround for bug 26265, to handle failure to load string bundle at startup. r=ben, a=leaf Based on the fact that 26265 is fixed, the try{} should be unnecessary.
Can I just remove the whole conditional try() and catch() statements then? And get rid of the "Yah". If so, I'll post a new patch.
Comment 11•23 years ago
|
||
sounds good to me
Assignee: ben → stephend
Component: XP Apps → Profile Manager FrontEnd
Crap-o-la. (I deleted my tree, this didn't have the label changes, I'll re-attach.) Just a sec..
Comment 15•23 years ago
|
||
Um, you must mean something else (wrong file attached again?).
cvs diff -u somehow got confused on that file, but I can assure you the changes I made are in the patch and the local file: *Took out the try() and catch() statements *Un-indented the declarations that were associated with the above *Changed value to label Everything else should be intact. Basically, diff subtracted the whole file, and added the changes in (and claimed it was a new batch of code entirely.)
Comment 18•23 years ago
|
||
Right, but you're resetting the localized labels, with hardcoded labels by just yanking the try/catch lines and leaving both alternative actions in place: + okButton.setAttribute("label", bundle.getString("dontDeleteFiles")); + Button2.setAttribute("label", bundle.getString("deleteFiles")); + cancelButton.setAttribute("label", bundle.getString("cancel")); + okButton.setAttribute( "label", "Don't Delete Files" ); + Button2.setAttribute( "label", "Delete Files" ); + cancelButton.setAttribute( "label", "Cancel" );
re-assigning to someone has a clue (I don't)
Assignee: stephend → ben
Comment 20•23 years ago
|
||
Comment 21•23 years ago
|
||
Comment 23•23 years ago
|
||
*** Bug 73193 has been marked as a duplicate of this bug. ***
Comment 24•23 years ago
|
||
Anyone want to check this in (I can't). ben can you give this the sr=?
Comment 25•23 years ago
|
||
*** Bug 74156 has been marked as a duplicate of this bug. ***
Comment 26•23 years ago
|
||
------- Additional Comments From John Morrison 2001-03-28 19:56 ------- Anyone want to check this in (I can't). ben can you give this the sr=?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
Comment 27•23 years ago
|
||
*** Bug 75776 has been marked as a duplicate of this bug. ***
Comment 28•23 years ago
|
||
-> blake. ben can you give this trivial fix the sr=? Thanks.
Assignee: jrgm → blakeross
Status: ASSIGNED → NEW
Assignee | ||
Comment 29•23 years ago
|
||
cc'ing alec for sr. he actually reads bugmail ;)
Comment 30•23 years ago
|
||
sr=alecf
Assignee | ||
Comment 31•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 32•23 years ago
|
||
verified fixed: windows 2001-04-16-06-trunk linux 2001-04-16-05-trunk mac 2001-04-16-04-trunk
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•