Closed
Bug 1289794
Opened 9 years ago
Closed 9 years ago
Integrate consoleoverlay files
Categories
(SeaMonkey :: General, enhancement)
SeaMonkey
General
Tracking
(seamonkey2.48 fixed)
RESOLVED
FIXED
seamonkey2.48
| Tracking | Status | |
|---|---|---|
| seamonkey2.48 | --- | fixed |
People
(Reporter: frg, Assigned: frg, NeedInfo)
References
Details
Attachments
(1 file, 1 obsolete file)
|
22.21 KB,
patch
|
frg
:
review+
|
Details | Diff | Splinter Review |
Bug 1282286 moved the old error console to suite.
The files suite\common\consoleOverlay.xul and suite\locales\en-US\chrome\common\consoleOverlay.dtd could now be integrated into the new code and then be removed.
| Assignee | ||
Updated•9 years ago
|
Version: unspecified → Trunk
Updated•9 years ago
|
Flags: needinfo?(philip.chee)
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → frgrahl
Status: NEW → ASSIGNED
Summary: Remove consoleoverlay from Seamonkey → Integrate consoleoverlay files
| Assignee | ||
Comment 1•9 years ago
|
||
The xul got quite a few new items so I completely reformatted it.
Attachment #8778623 -
Flags: review?(iann_bugzilla)
Comment on attachment 8778623 [details] [diff] [review]
1289794-consoleoverlay.patch
>+++ b/suite/common/console/console.xul
> <commandset id="consoleCommands">
>- <command id="cmd_close" oncommand="closeWindow(true)"/>
>+ <command id="cmd_close"
>+ oncommand="closeWindow(true)"/>
Nit: This change is not needed, if all attributes can fit in a single line (less than 80 characters), it is acceptable formatting.
>+ <commandset id="tasksCommands"/>
I'd prefer this at the top of the parent <commandset>
>+ <key id="key_focus1"
>+ key="&focus1.commandkey;"
>+ modifiers="accel"
> oncommand="gTextBoxEval.focus()"/>
If you're changing the lines around it, you might as well put a ; after the )
>+ <key id="key_focus2"
>+ key="&focus2.commandkey;"
>+ modifiers="alt"
> oncommand="gTextBoxEval.focus()"/>
If you're changing the lines around it, you might as well put a ; after the )
>+ <keyset id="tasksKeys"/>
I'd prefer this at the top of the parent <keyset>
>- <menuitem id="menu_copy_cm" command="cmd_copy"
>- label="©Cmd.label;" accesskey="©Cmd.accesskey;"/>
>+ <menuitem id="menu_copy_cm"
>+ command="cmd_copy"
>+ label="©Cmd.label;"
>+ accesskey="©Cmd.accesskey;"/>
Preference is to have id, label then accesskey which leaves, in this case, command being the last attribute.
>+ <menubar id="main-menubar"
>+ class="chromeclass-menubar"
>+ grippytooltiptext="&menuBar.tooltip;"
>+ position="1">
I think position is only needed in overlay files.
>+ <menuitem id="toggleToolbarMode"
>+ type="checkbox"
>+ checked="true"
>+ oncommand="goToggleToolbar('ToolbarMode','toggleToolbarMode');"
>+ label="&toolbarMode.label;"
>+ accesskey="&toolbarMode.accesskey;"/>
Nit: have oncommand as the last attribute.
>+ <menuitem id="toggleToolbarEval"
>+ type="checkbox"
>+ checked="true"
>+ oncommand="goToggleToolbar('ToolbarEval','toggleToolbarEval');"
>+ label="&toolbarEval.label;"
>+ accesskey="&toolbarEval.accesskey;"/>
Nit: have oncommand as the last attribute.
>+ <toolbarbutton id="Console:clear"
>+ oncommand="clearConsole();"
>+ label="&clear.label;"
>+ accesskey="&clear.accesskey;"/>
Nit: have oncommand as the last attribute.
>+ <textbox id="TextboxEval"
>+ class="toolbar"
>+ value=""
>+ onkeypress="onEvalKeyPress(event)"
>+ flex="1"/>
Nit: have onkeypress as the last attribute and ; after ). flex can be after class.
>+ <toolbarbutton id="ButtonEval"
>+ label="&evaluate.label;"
>+ accesskey="&evaluate.accesskey;"
>+ oncommand="evaluateTypein()"/>
Nit: have ; after ).
>+ <statusbarpanel flex="1"
>+ pack="start">
Nit: This change is not needed, if all attributes can fit in a single line (less than 80 characters), it is acceptable formatting.
>+ <label value="&filter2.label;"
>+ control="Filter"/>
Nit: This change is not needed, if all attributes can fit in a single line (less than 80 characters), it is acceptable formatting.
>+ <textbox accesskey="&filter2.accesskey;"
>+ type="search"
>+ id="Filter"
>+ oncommand="changeFilter();"/>
Nit: accesskey after id please
r/a=me for those addressed.
Attachment #8778623 -
Flags: review?(iann_bugzilla) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
Patch with nits fixed. Review+ from IanN carried forward.
Attachment #8778623 -
Attachment is obsolete: true
Attachment #8787868 -
Flags: review+
| Assignee | ||
Comment 4•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-seamonkey2.48:
--- → fixed
Resolution: --- → FIXED
| Assignee | ||
Updated•7 years ago
|
Target Milestone: --- → seamonkey2.48
You need to log in
before you can comment on or make changes to this bug.
Description
•