Closed
Bug 431572
Opened 17 years ago
Closed 6 years ago
Error Console error/warning/message context menu item "Copy" needs icon
Categories
(Toolkit :: Themes, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: adelfino, Assigned: ispence)
References
Details
Attachments
(2 files, 2 obsolete files)
61.95 KB,
image/png
|
Details | |
1.66 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008043011 Minefield/3.0pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008043011 Minefield/3.0pre
Error Console error/warning/message context menu item "Copy" needs icon.
See screenshot.
Reproducible: Always
Reporter | ||
Updated•17 years ago
|
Version: unspecified → Trunk
Reporter | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
Assignee: nobody → ispence
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #319270 -
Flags: review?(gavin.sharp)
Comment 3•17 years ago
|
||
Comment on attachment 319270 [details] [diff] [review]
Adds the copy icon to the error console's context menu
>Index: toolkit/themes/gnomestripe/global/console/console.css
>+menuitem:not([type]) {
>+ -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
Just put class="menuitem-iconic" on the element itself? If this really needs to apply to other menu items you can add that class to those, but I don't see any.
>+#menu_copy_cm {
>+ list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
Assignee | ||
Comment 4•17 years ago
|
||
Is this what you were aiming at?
Attachment #319270 -
Attachment is obsolete: true
Attachment #319274 -
Flags: review?(gavin.sharp)
Attachment #319270 -
Flags: review?(gavin.sharp)
Comment 5•17 years ago
|
||
Yes, like that, but without the .menuitem-iconic change to the CSS (.menuitem-iconic is styled in xul.css), though now that I think about it this means that we need to ensure that that class doesn't have negative effects on other platforms (e.g. breaking alignment issues between the copy menu item label and the other menuitems).
Comment 6•16 years ago
|
||
This is what I meant (also updated to trunk). Unfortunately it breaks the alignment on Mac (because iconic menu items have a lot more padding than non-iconic menuitems). I suppose we could just ifdef that for Linux, or use CSS to hide the icon box on non-Linux.
Attachment #319274 -
Attachment is obsolete: true
Attachment #319274 -
Flags: review?(gavin.sharp)
Comment 7•15 years ago
|
||
We should just add -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); to #menu_copy_cm.
Component: Theme → Themes
Product: Firefox → Toolkit
QA Contact: theme → themes
Comment 8•6 years ago
|
||
The error console is dead.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•