Closed Bug 637088 Opened 14 years ago Closed 14 years ago

InsertPopup in classic theme is missing icons for menuitems

Categories

(SeaMonkey :: Themes, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1b3

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Correct insertpopup menuitems patch (obsolete) β€” β€” Splinter Review
In Classic themes's editorFormatToolbar.css the file it references for the menuitem icons (chrome://editor/skin/icons/btn1.gif) does not exist.
To see the issue, with the Classic theme, go into a mail compose window and click on the drop down for "Insert a Link, Anchor, Image, Horizontal Line, or Table" and none of the menuitems have an image. Compare against the same drop down in Modern theme.
Attachment #515411 - Flags: review?(neil)
Attachment #515411 - Flags: ui-review?(stefanh)
Comment on attachment 515411 [details] [diff] [review]
Correct insertpopup menuitems patch

I guess that menu doesn't get used a lot :-(
Attachment #515411 - Flags: review?(neil) → review+
Comment on attachment 515411 [details] [diff] [review]
Correct insertpopup menuitems patch

diff --git a/suite/themes/classic/mac/editor/editorFormatToolbar.css b/suite/themes/classic/mac/editor/editorFormatToolbar.css
--- a/suite/themes/classic/mac/editor/editorFormatToolbar.css
+++ b/suite/themes/classic/mac/editor/editorFormatToolbar.css
@@ -388,57 +388,57 @@ toolbarbutton.chromeclass-toolbar-additi
 
 #AlignJustifyItem:hover {
   -moz-image-region: rect(130px 32px 146px 16px);
 }
 
 /* ..... insert menu ..... */
 
 #InsertPopup > menuitem {
-  list-style-image: url("chrome://editor/skin/icons/btn1.gif");
+  list-style-image: url("chrome://editor/skin/icons/editoricons-small.png");
 }
 
 #InsertLinkItem {
-  -moz-image-region: rect(16px 16px 32px 0);
+  -moz-image-region: rect(60px 19px 79px 0);
 }
 
 #InsertLinkItem:hover {
-  -moz-image-region: rect(16px 32px 32px 16px);
+  -moz-image-region: rect(60px 39px 79px 20px);
 }

I must confess that I don't think I've ever used these menus... Would you mind removing the :hover rules from both menus (insert and align)? We don't do this on Mac (it also look funny in the align menu since the menuitem hover background is blue) and afaics this is the only remnant left from an erlier era.
Attachment #515411 - Flags: ui-review?(stefanh) → ui-review+
As checked in.

http://hg.mozilla.org/comm-central/rev/420c4a5b35a5
Attachment #515411 - Attachment is obsolete: true
Attachment #515529 - Flags: superreview+
Attachment #515529 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: