Closed Bug 1229328 Opened 9 years ago Closed 9 years ago

Remove preprocessing from toolbox-window.xul

Categories

(DevTools :: Framework, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox45 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file, 1 obsolete file)

This prevent toolbox as window to work when using the live-reload addon from bug 1225108.
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #8694132 - Flags: review?(bgrinstead)
Comment on attachment 8694132 [details] [diff] [review]
patch v1

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

::: devtools/client/framework/toolbox-window.xul
@@ +27,5 @@
>           command="toolbox-cmd-close"
>           modifiers="accel"/>
>      <key id="toolbox-key-toggle"
>           key="&toggleToolbox.key;"
> +         command="toolbox-cmd-close"/>

I prefer the way we did it in Bug 1162848 if for nothing else but consistency, but also because you can see the modifiers here next to the key.

So we would have two disabled keys (toolbox-key-toggle and toolbox-key-toggle-osx) then in the js enable the correct one depending on platform, like https://hg.mozilla.org/mozilla-central/rev/2b9780ca7aa8#l2.55.
Attachment #8694132 - Flags: review?(bgrinstead)
Attached patch patch v2Splinter Review
Attachment #8694224 - Flags: review?(bgrinstead)
Attachment #8694132 - Attachment is obsolete: true
Comment on attachment 8694224 [details] [diff] [review]
patch v2

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

Need to remove the * in jar.mn to get rid of preprocessing
Attachment #8694224 - Flags: review?(bgrinstead) → review+
https://hg.mozilla.org/mozilla-central/rev/91642bf07cd0
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: