Closed
Bug 407841
Opened 17 years ago
Closed 17 years ago
Empty pop-up when no Default Feed Viewer is selected is ugly
Categories
(Camino Graveyard :: Preferences, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino1.6
People
(Reporter: mark, Assigned: alqahira)
References
Details
(Keywords: fixed1.8.1.13)
Attachments
(2 files, 1 obsolete file)
42.66 KB,
image/png
|
Details | |
2.99 KB,
patch
|
alqahira
:
review+
stuart.morgan+bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
When no Default Feed Viewer is configured, as in the case with a brand spankin' new account created in a virgin Leopard install, the Default Feed Viewer pop-up menu in the Navigation-I-mean-General preference pane shows up empty. This looks pretty bad. I think we should replace it with a localized string ("None" in English), but see bug 352451 comment 4.
Reporter | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
I believe that's supposed to be "Select…", so perhaps this is fallout from bug 352451 comment 4?
Regardless, we should make it work and say something informative.
Flags: camino1.6b1?
Reporter | ||
Comment 3•17 years ago
|
||
Select… is the thing at the bottom of the list that lets you pick your own application. That should never be the default value of the pop-up when you open the pref pane.
The empty entry is something else.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/camino/src/browser/AppListMenuFactory.mm&rev=1.6&mark=160-162,170-174#151
Assignee | ||
Comment 4•17 years ago
|
||
Markus, is this a bug you might be ready to tackle?
Comment 5•17 years ago
|
||
Since this is trivial to fix, and we like to make mento happy, +ing for 1.6b3
Flags: camino1.6b3? → camino1.6b3+
Target Milestone: --- → Camino1.6
Assignee | ||
Comment 6•17 years ago
|
||
So, Stuart Friday said I should be able to use my copy-paste skills to fix this bug, and, through the miracles of mxr and copy-paste in Cocoa, I present to you this patch. It seems to work, and Camino doesn't appear to crash or growl at me as a result.
I'm not entirely thrilled with my localized string choice; maybe mento's "None" is really the way to go?
Comment 7•17 years ago
|
||
Nit: you should probably use nil instead of NULL if you want Cocoa bonus points.
Comment 8•17 years ago
|
||
Oh, other than that, r=me if you want it.
Comment 9•17 years ago
|
||
(In reply to comment #7)
> Nit: you should probably use nil instead of NULL
nil would be incorrect; a selector is not an object pointer type.
Comment 10•17 years ago
|
||
I tend to agree that "None" would be better
Assignee | ||
Comment 11•17 years ago
|
||
Switches the string to "None" (and gets rid of the stray extra hunk that slipped in to the .strings from one of Stuart's patches).
Carrying forward the r=hwaara from comment 8, which I believe still stands.
Attachment #303892 -
Attachment is obsolete: true
Attachment #303969 -
Flags: superreview?(stuart.morgan)
Attachment #303969 -
Flags: review+
Attachment #303892 -
Flags: review?(murph)
Comment 12•17 years ago
|
||
Comment on attachment 303969 [details] [diff] [review]
uses "None" (and no excess hunk)
>+"NoDefaultReader" = "None"
This line is missing the semicolon at the end, which will make the world a sad place.
sr=smorgan with that fixed.
Attachment #303969 -
Flags: superreview?(stuart.morgan) → superreview+
Assignee | ||
Comment 13•17 years ago
|
||
Checked in on the trunk and MOZILLA_1_8_BRANCH with the semicolon to keep the world a happy place. mento, please have a lovely (rest of) President's Day. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•