Closed Bug 588297 Opened 14 years ago Closed 12 years ago

Update the icon for "Firefox is already your default browser"

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: faaborg, Assigned: c.ascheberg)

References

Details

(Keywords: ux-tone)

Attachments

(2 files)

We current display a warning icon for the dialog box "Firefox is already your default browser."  Outside of the larger question of why this dialog box needs to exist, we should update the icon from warning to info.
I guess this does not have high priority, but I wanted to look around in the source code (for the first time) and this seemed to be easy. I found this (?):

Code to show dialog box:
http://mxr.mozilla.org/mozilla-central/source/browser/components/preferences/advanced.js#702

calls alert:
http://mxr.mozilla.org/mozilla-central/source/embedding/browser/activex/src/control/PromptService.cpp#698

which has a parameter for the icon in the dialog. That is MB_ICONEXCLAMATION, but MB_ICONINFORMATION already seems to be defined too.

For me it would be interesting to see the fix here.
Attached patch patchSplinter Review
This is mainly quite a bit of copy&paste from alert, but for me it seems to work.
I think the better fix, especially now that FF4 is basically out the door, is to get rid of the prompt entirely, and change the pref dialog to reflect this info. I'd sorta rather not add another interface just to use a different icon.

Quick example:

[X] Check to see if Firefox is default browser on startup.
    Firefox is currently your default browser.

[X] Check to see if Firefox is default browser on startup.
    Firefox is not your default browser. [Make default]
(In reply to Justin Dolske [:Dolske] from comment #5)

See bug 317190
The dialog was removed in bug 317190
Assignee: nobody → c.ascheberg
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: