Closed Bug 233721 Opened 21 years ago Closed 21 years ago

Port of Firefox bug 182928 to Seamonkey (Add confirmation for Set As Wallpaper)

Categories

(SeaMonkey :: UI Design, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Stefan.Borggraefe, Assigned: Stefan.Borggraefe)

Details

Attachments

(1 file, 2 obsolete files)

See Firefox bug 182928.

I think this is a good idea and there is no reason Seamonkey shouldn't have
this, too.
Attached patch Patch (obsolete) — Splinter Review
Status: NEW → ASSIGNED
Attachment #141068 - Flags: review?(timeless)
Component: Browser-General → XP Apps: GUI Features
Comment on attachment 141068 [details] [diff] [review]
Patch

>+      var promptTitle   = gNavigatorBundle.getString("wallpaperConfirmTitle");
use two strings. just because en-US can share a string doesn't mean some other
language won't need different messages.

>+      var buttonPressed = promptService.confirmEx(window, promptTitle, promptMsg,
>+                                                   (promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0) +
>+                                                   (promptService.BUTTON_TITLE_CANCEL    * promptService.BUTTON_POS_1),
>+                                                   promptTitle, null, null, null, {value:0});


>Index: xpfe/communicator/resources/locale/en-US/contentAreaCommands.dtd
>-<!ENTITY setWallpaperCmd.label        "Set As Wallpaper">
>+<!ENTITY setWallpaperCmd.label        "Set As Wallpaper...">

Confirm does not count as requiring an ellipsis (i.e. don't make this change).
File>Exit and File>Close window prompt, but they (correctly) don't have
ellipsis.

>Index: xpfe/browser/resources/locale/en-US/navigator.properties
>+#nsContextMenu.js (setWallpaper confirmation dialog)
>+wallpaperConfirmTitle = Set Wallpaper
>+wallpaperConfirmMsg   = Do you want to set this image as your desktop wallpaper?

+wallpaperConfirmButton
Attachment #141068 - Flags: review?(timeless) → review-
Attached patch Addressed review comments (obsolete) — Splinter Review
Attachment #141068 - Attachment is obsolete: true
Attachment #141129 - Flags: review?(timeless)
Attachment #141129 - Flags: superreview?(tor)
Attachment #141129 - Flags: review?(timeless)
Attachment #141129 - Flags: review+
Attachment #141129 - Flags: review+ → review?(neil.parkwaycc.co.uk)
Comment on attachment 141129 [details] [diff] [review]
Addressed review comments

>+wallpaperConfirmTitle  = Set Wallpaper
Set As Wallpaper, please.
Attachment #141129 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attached patch Added the "As"Splinter Review
Otherwise unchanged. I'll transfer Neil's r+ to this patch.
Attachment #141129 - Attachment is obsolete: true
Attachment #141129 - Flags: superreview?(tor)
Attachment #141315 - Flags: superreview?(tor)
Attachment #141315 - Flags: review+
Attachment #141315 - Flags: superreview?(tor) → superreview+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: