Closed
Bug 127337
Opened 23 years ago
Closed 23 years ago
Restore Default for Home Page button
Categories
(SeaMonkey :: Preferences, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: rebron, Assigned: stdowa+bugzilla)
Details
Attachments
(2 files)
|
3.72 KB,
patch
|
samir_bugzilla
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
|
11.82 KB,
image/png
|
Details |
Navigator--> Homepage Pref should have a "Restore Default" button
for the homepage.
Comment 1•23 years ago
|
||
Nominate with justification if you feel strongly about this for Mach V. At this
point, netscape developers should not be working bugs that are non-nsbeta1+.
-> Future bin for now
Target Milestone: --- → Future
| Assignee | ||
Comment 2•23 years ago
|
||
| Assignee | ||
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
Comment on attachment 82893 [details] [diff] [review]
patch
r=sgehani
Attachment #82893 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 82893 [details] [diff] [review]
patch
hmm.. does this really retrieve the default page? I mean, if the user has
overridden it, won't nsIPrefLocalizedString retrieve the overridden verison?
| Assignee | ||
Comment 6•23 years ago
|
||
Yes because getDefaultBranch always calls the default pref value, not the
overridden one.
"When using a Get method a default value will always be returned"
http://lxr.mozilla.org/mozilla/source/modules/libpref/public/nsIPrefService.idl#
134.
Comment 7•23 years ago
|
||
Comment on attachment 82893 [details] [diff] [review]
patch
oh.. duh :) I forgot about getDefaultBranch!
sr=alecf
Attachment #82893 -
Flags: superreview+
C:\moz_src\mozilla\xpfe\components\prefwindow\resources\content>cvs commit -m
"Bug 127337. Restore Default for Home Page button in Navigator. Patch by
Stephen Walker <walk84@yahoo.com> r=samir, sr=alecf." pre
f-navigator.js
Checking in pref-navigator.js;
/cvsroot/mozilla/xpfe/components/prefwindow/resources/content/pref-navigator.js,v
<-- pref-navigator.js
new revision: 1.8; previous revision: 1.7
done
C:\moz_src\mozilla\xpfe\components\prefwindow\resources\content>cvs commit -m
"Bug 127337. Restore Default for Home Page button in Navigator. Patch by
Stephen Walker <walk84@yahoo.com> r=samir, sr=alecf." pre
f-navigator.xul
Checking in pref-navigator.xul;
/cvsroot/mozilla/xpfe/components/prefwindow/resources/content/pref-navigator.xul,v
<-- pref-navigator.xul
new revision: 1.63; previous revision: 1.62
done
C:\moz_src\mozilla\xpfe\components\prefwindow\resources\locale\en-US>cvs commit
-m "Bug 127337. Restore Default for Home Page button in Navigator. Patch by
Stephen Walker <walk84@yahoo.com> r=samir, s
" pref-navigator.dtd
Checking in pref-navigator.dtd;
/cvsroot/mozilla/xpfe/components/prefwindow/resources/locale/en-US/pref-navigator.dtd,v
<-- pref-navigator.dtd
new revision: 1.21; previous revision: 1.20
done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Priority: -- → P3
Target Milestone: Future → mozilla1.0
Comment 10•23 years ago
|
||
vrfy'd fixed with 2002.09.16.08 comm trunk builds.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•