Closed Bug 866844 Opened 11 years ago Closed 11 years ago

Create "Open File" widget

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 28

People

(Reporter: mconley, Assigned: mikedeboer)

References

()

Details

Attachments

(1 file, 2 obsolete files)

According to http://people.mozilla.com/~zfang/Customization/MenuPanel.jpg, we're going to want a widget to open up the Open File OS dialog.
QA Contact: mdeboer
Status: NEW → ASSIGNED
Assignee: nobody → mdeboer
Attachment #745185 - Flags: review?(mconley)
QA Contact: mdeboer
fixed an outline nit
Attachment #745185 - Attachment is obsolete: true
Attachment #745185 - Flags: review?(mconley)
Attachment #745188 - Flags: review?(mconley)
Blocks: 866845
Comment on attachment 745188 [details] [diff] [review]
Add Open File button widget to toolbar/ customize panel

Review of attachment 745188 [details] [diff] [review]:
-----------------------------------------------------------------

r=me with the following things fixed.

::: browser/components/customizableui/src/CustomizableUI.jsm
@@ +218,5 @@
> +  }, {
> +    id: "open-file-button",
> +    name: "Open File",
> +    shortcut: "Ctrl+O",
> +    description: "Open File",

We seem to have some casing inconsistency here - in the other widgets I've reviewed from you so far, we had phrases like "Find in this page", where only the first word is capitalized. I think we should be consistent - I think this should be "Open file".

@@ +227,5 @@
> +      "32": "chrome://branding/content/icon48.png",
> +      "48": "chrome://branding/content/icon48.png"
> +    },
> +    onCommand: function(aEvent) {
> +      let win = aEvent.target && aEvent.target.ownerDocument && aEvent.target.ownerDocument.defaultView;

Same as before - please break up over 3 lines.

@@ +310,5 @@
>      "fullscreen-button",
>      "find-button",
>      "history-panelmenu",
>      "bookmarks-panelmenu",
> +    "open-file-button"

This button isn't supposed to be part of the default set, so this line can be removed.
Attachment #745188 - Flags: review?(mconley) → review+
addressed comments, carrying over r+=mconley
Attachment #745188 - Attachment is obsolete: true
Attachment #745385 - Flags: review+
No longer depends on: 855290
Whiteboard: [fixed-in-jamun] → [fixed-in-jamun][fixed-in-ux]
https://hg.mozilla.org/mozilla-central/rev/9e6a9d11c82a
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-jamun][fixed-in-ux]
Target Milestone: --- → Firefox 28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: