Closed Bug 292893 Opened 19 years ago Closed 19 years ago

toolkit/themes/Makefile.in uses qute for all-but-phoenix

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: axel, Assigned: axel)

Details

Attachments

(1 file)

The logic in toolkit/thems/Makefile.in is reversed. It uses winstripe for 
winstripe for phoenix and qute for everything else. The logic is to use
qute for thunderbird and winstripe for everything else.
This breaks help viewer in xulrunner, at least.

Patch coming up.
Attachment #182609 - Flags: superreview?(mscott)
Attachment #182609 - Flags: review?(benjamin)
I was just about to file this bug too! ;-)
Comment on attachment 182609 [details] [diff] [review]
use ifndef MOZ_THUNDERBIRD instead

r=me... this doesn't change tbird, so I don't think mscott need worry. Sunbird
might be different, though.
Attachment #182609 - Flags: superreview?(mscott)
Attachment #182609 - Flags: review?(benjamin)
Attachment #182609 - Flags: review+
Attachment #182609 - Flags: approval-aviary1.1a?
requesting sunbird input on this change ...
I always assumed that the default was winstripe. I guess this is the right
change to make, but i didn't test it yet. (But did i mention that any #ifdef
MOZ_APPNAME in toolkit is just plain wrong?)
#ifdef's in toolkit are definitely wrong, but the goal is to get rid of them
gradually.  if possible we are trying to only have ifdefs for thunderbird since
removing ifdefs for thunderbird is going to be the most challenging it seems.
(In reply to comment #6)
> #ifdef's in toolkit are definitely wrong, but the goal is to get rid of them
> gradually.  if possible we are trying to only have ifdefs for thunderbird since
> removing ifdefs for thunderbird is going to be the most challenging it seems.  

Are you saying we should move theme code out of toolkit to avoid this ifdef?
There's no requirement that says everyone of our applications is going to use
winstripe or qute or something else. 

afaik, the idea is that toolkit can be shared between apps. If an app wants it's
own theme, it can override the toolkit theme.
But i didn't wanted to start this discussion here, I was just a bit bitter about
another ifdef that means more work for sunbird.
The toolkit/xulrunner is going to ship with one theme, called "classic". This is
winstripe/pinstripe/qtstripe/whatever depending on platform. The difference
between qute and winstripe is minimal in the toolkit code: the real differences
are all in the icons and such, which are all app-specific.

It is reasonable in the future for tbird to use the "winstripe" theme for the
toolkit bits, and continue to use the Qute icons and app-specific style rules.
Of course they are going to be packaged in different JAR files anyway.
Comment on attachment 182609 [details] [diff] [review]
use ifndef MOZ_THUNDERBIRD instead

a=asa
Attachment #182609 - Flags: approval-aviary1.1a? → approval-aviary1.1a+
Checked in. I filed bug 292995 for more #ifdef MOZ_PHOENIX goodness in qute.
(Which actually triggered the filing of this bug, to be honest.)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: