Closed
Bug 492923
Opened 16 years ago
Closed 16 years ago
remove mail-16.gif ... and mail-16.png?
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b3
People
(Reporter: clarkbw, Assigned: clarkbw)
Details
Attachments
(1 file, 2 obsolete files)
|
3.74 KB,
patch
|
philor
:
review+
|
Details | Diff | Splinter Review |
With Linux and Windows I think this an easy no questions asked patch as they don't even reference the icon at all.
With the Mac it appears that the jar.mn file references mail-16.png and then appears to use mail-16.gif in the compose and addressbook css files. I'm not sure what this image is for other than making us look like an ass at certain points.
Phil, any ideas about the Mac?
| Assignee | ||
Comment 1•16 years ago
|
||
here's the patch for the qute and gnomestripe themes
Comment 2•16 years ago
|
||
Sadly, the story is pretty much what it looks like.
SeaMonkey has a Window menu on all platforms, and uses icons with the menuitems for its various window types.
Thunderbird has those menuitems in the Tools menu on Windows/Linux, where we claim they are "menuitem-iconic icon-mail16 menu-iconic". Bug 285772, not quite the dawn of Thunderbird themes but the start of them being completely independent, landed mail-16.gif unused and unjarred in Qute, and used message-mail.png (and abcard.png for icon-addressbook16) in its place, until bug 345887, the Tb2 theme update, stopped using images for the menuitems (without removing the classes from the XUL).
Bug 285772 landed mail-16.png unused but jarred in Pinstripe, and tried to use mail-16.gif in its place. Then bug 353588 switched us from using our own Mac Window menu code to using the toolkit Window menu code, which lost us the menuitems for window types, and bug 365755 added them back via overlay, not doing anything about a class for displaying an icon because displaying an icon for those sorts of menuitems in a Mac Window menu is utterly wrong and non-native.
So since we don't have those menu icons anywhere, and don't want those menu icons anywhere (unless having them would be properly native on Linux), the fix is to remove the files and make http://mxr.mozilla.org/comm-central/search?string=%28addressbook|mail%2916®exp=on&find=%2Fmail%2F return no results.
| Assignee | ||
Comment 3•16 years ago
|
||
wow, thanks!
Hopefully this is everything you asked for. I also cleaned up the xul elements I touched while I was in there and reordered some of the attributes as best I could remember you guys liking them...
Assignee: nobody → clarkbw
Attachment #377359 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #377482 -
Flags: review?(philringnalda)
Comment 4•16 years ago
|
||
No reason to keep the menu-iconic and menuitem-iconic classes, is there? Near as I can tell, menu-iconic is totally wrong, since that class is only used for menu.menu-iconic and menubar > menu.menu-iconic, when you're creating a menu that has an icon next to the menu label, and menuitem-iconic is just giving us a binding with an image that we don't want or do anything with.
| Assignee | ||
Comment 5•16 years ago
|
||
yeah, that makes sense. I'm in the middle of a rebuild and will add that to the patch when it's done.
| Assignee | ||
Comment 6•16 years ago
|
||
here's the updated version
Attachment #377482 -
Attachment is obsolete: true
Attachment #377591 -
Flags: review?(philringnalda)
Attachment #377482 -
Flags: review?(philringnalda)
Comment 7•16 years ago
|
||
Comment on attachment 377591 [details] [diff] [review]
updated patch w/ menu(item)-iconic removed
Almost: mail-16.png was jarred, just not used, so with the file removed but the line not removed from the jar.mn, you get a build failure.
Attachment #377591 -
Flags: review?(philringnalda) → review+
Comment 8•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b3
| Assignee | ||
Comment 9•16 years ago
|
||
oh, nice catch. thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•