Closed Bug 271731 Opened 20 years ago Closed 20 years ago

Get Sunbird ready for Theme Manager

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Sunbird 0.3

People

(Reporter: mattwillis, Assigned: mattwillis)

Details

Attachments

(9 files, 5 obsolete files)

27.93 KB, image/png
Details
953 bytes, image/png
mostafah
: first-review+
Details
7.53 KB, image/png
mostafah
: first-review+
Details
9.35 KB, patch
mostafah
: first-review+
Details | Diff | Splinter Review
1.07 KB, image/png
mostafah
: first-review+
Details
6.80 KB, image/png
mostafah
: first-review+
Details
1006 bytes, patch
mostafah
: first-review+
Details | Diff | Splinter Review
1.70 KB, image/png
mattwillis
: first-review+
Details
6.69 KB, application/octet-stream
Details
FF and TB use the same UID for their default theme. This UID is referenced in
toolkit theme code (for example 
toolkit/mozapps/extensions/src/nsExtensionManager.js.in)

Sunbird's default theme UID is unique from the FF/TB UID, and bringing it in
line with FF/TB's will let us use some toolkit theme code as is.

This should be a trunk only fix.
Attached patch rev0 - patch adds updated theme directory (obsolete) β€” β€” Splinter Review
In addition to applying this, remove the directory and its contents:
mozilla/calendar/sunbird/app/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}
Attachment #167028 - Flags: first-review?(mostafah)
Attached image icon for themes manager (obsolete) β€”
check in as:
mozilla/calendar/sunbird/themes/pinstripe/sunbird/icon.png
Attachment #167029 - Flags: first-review?(mostafah)
Attached image preview image for theme manager (obsolete) β€”
check in as:
mozilla/calendar/sunbird/themes/pinstripe/sunbird/preview.png
Attachment #167030 - Attachment mime type: text/plain → image/png
Attachment #167030 - Flags: first-review?(mostafah)
Per shaver, CCing justdave for scripts to help moving directories without losing
cvs blame.

mostafah: Don't delete the {8.... directory, but instead we'll use cvs rename
(or something) so as to no lose cvs blame
Status: NEW → ASSIGNED
Attachment #167028 - Attachment is obsolete: true
Attachment #167028 - Flags: first-review?(mostafah)
Attachment #167114 - Flags: first-review?(mostafah)
(In reply to comment #4)
> Per shaver, CCing justdave for scripts to help moving directories without losing
> cvs blame.

What directories are we moving?  I need a source and destination for the move,
and an sr= on the move.
(In reply to comment #7)
> What directories are we moving?  I need a source and destination for the move,

Source:
mozilla/calendar/sunbird/app/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}

Destination:
mozilla/calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}

> and an sr= on the move.

Mostafa: could you give the sr? Once the directory is moved in cvs, I'll
recreate the rev1 patch above only changing what we need. The icon and preview
images can be checked in now -- they're still valid and their paths will not change.
Comment on attachment 167114 [details] [diff] [review]
rev1 - trunk - added to classic.jar in pinstripe for theme manager

Removing request for review. I will make a new patch once the existing files
are moved, to keep cvs blame info.
Attachment #167114 - Attachment is obsolete: true
Attachment #167114 - Flags: first-review?(mostafah)
(In reply to comment #8)
> Mostafa: could you give the sr? Once the directory is moved in cvs, I'll
> recreate the rev1 patch above only changing what we need. The icon and preview
> images can be checked in now -- they're still valid and their paths will not
change.

sr=mostafa for the move
justdave:
Reminder we need the cvs move and mostafa has given his sr for it.
justdave: Updating the bug to remind you that we need this move.

> Source:
>
mozilla/calendar/sunbird/app/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}
> 
> Destination:
>
mozilla/calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}

> sr=mostafa for the move
CVS copy has been completed.  The destination directory and the two files in it
(Makefile.in and install.rdf.in) exist ONLY on the trunk.  If you need it to
exist on a branch, you will need to re-branch the files.  You will need to cvs
remove the two files from the old location once you no longer need them.  CVS
can't actually remove directories, but if you use -P on your cvs update (after
the two files are removed), the newly-empty directory will go away.
Attached patch rev2 - trunk - updates files to new UID (obsolete) β€” β€” Splinter Review
This patch no longer has the "remove/add" method of moving the directory.
justdave took care of that for us.
Attachment #167029 - Attachment is obsolete: true
Attachment #167030 - Attachment is obsolete: true
Attachment #167029 - Flags: first-review?(mostafah)
Attachment #167030 - Flags: first-review?(mostafah)
Attachment #169182 - Attachment is obsolete: true
Use the -P flag when committing this to "prune" the {8... directory from CVS
Attachment #169187 - Flags: first-review?(mostafah)
Attachment #169183 - Flags: first-review?(mostafah)
Attachment #169184 - Flags: first-review?(mostafah)
(In reply to comment #17)
> Use the -P flag when committing this to "prune" the {8... directory from CVS

-P isn't used when you commit, that's a checkout/update thing.
(In reply to comment #18)
> (In reply to comment #17)
> > Use the -P flag when committing this to "prune" the {8... directory from CVS
> 
> -P isn't used when you commit, that's a checkout/update thing.

My bad. Thanks.
Attachment #169183 - Flags: first-review?(mostafah) → first-review+
Attachment #169184 - Flags: first-review?(mostafah) → first-review+
Attachment #169187 - Flags: first-review?(mostafah) → first-review+
Patch and gfx checked in. 
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Matthew, we still need icons and imagery for Windows/Linux (Winstripe).
Reopening and CC'ing Mark Carson for this.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #169393 - Flags: first-review?(mostafah)
Attachment #169393 - Flags: first-review?(mostafah) → first-review+
Attachment #169394 - Flags: first-review?(mostafah) → first-review+
Attachment #169395 - Flags: first-review?(mostafah)
Mark,
Consider these images placeholders. I can hook you up with the .psd files as
well if you'd like. (I actually would like to start putting them in cvs.)

One thing of note: Your icons are all at 100dpi, while other elements (such as
Firefox's icon.png) is at 72dpi, so your icons look a little smaller.
Attachment #169395 - Flags: first-review?(mostafah) → first-review+
Winstripe icon.png preview.png and jar.mn patch checked in

Changing Summary
-> FIXED

If Mark makes new icons, we'll reopen this
Summary: Sunbird default theme uses unique UID from FF/TB → Get Sunbird ready for Theme Manager
Target Milestone: --- → Sunbird 0.3
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
32x32 icon to be used by the theme manager in Sunbird to denote the default
(Winstripe) theme.
32x32 icon to be used by the theme manager in Sunbird to denote the default
(Winstripe) theme.

PSD (Photoshop) version

Both version of the image are 72dpi and have transparent background and partial
transparency drop shadowing. Calendar is larger than what is used in the
toolbar.
Attachment #169691 - Attachment description: Default Sunbird Theme icon (32x32 image) → Default Sunbird Theme icon (32x32 image) - PSD
Preview image looks fine to me. I have uploaded a new "icon.png" file in both
PNG and PSD formats at 72dpi with transparency. This is the image to be used by
the theme manager to the left of the theme name. The image is a new creation
(not an extract from the large toolbar) but used the month view icon metaphor
(without any sub-icons). If something else is needed, let me know.
Comment on attachment 169690 [details]
Default Sunbird Theme icon (32x32 image) [checked in]

checked in. 
thanks Mark!
Attachment #169690 - Attachment description: Default Sunbird Theme icon (32x32 image) → Default Sunbird Theme icon (32x32 image) [checked in]
Attachment #169690 - Flags: first-review+
mostafah:

I'd like to have a place in cvs to put .psd (Photoshop) files of the graphics
It obviously wouldn't be included in a release, but would add a little bit to
folks checking out the source.

Do you have either an objection, or a suggestion as to where?
(In reply to comment #31)
> mostafah:
> 
> I'd like to have a place in cvs to put .psd (Photoshop) files of the graphics
> It obviously wouldn't be included in a release, but would add a little bit to
> folks checking out the source.
> 
> Do you have either an objection, or a suggestion as to where?

My objection to this is that having .psd files in CVS is something no other
Mozilla project is practicing.I suggest using bugzilla for trading .psd files
for now.
(In reply to comment #32)
> (In reply to comment #31)
> > mostafah:
> > 
> > I'd like to have a place in cvs to put .psd (Photoshop) files of the graphics
> > It obviously wouldn't be included in a release, but would add a little bit to
> > folks checking out the source.
> > 
> > Do you have either an objection, or a suggestion as to where?
> 
> My objection to this is that having .psd files in CVS is something no other
> Mozilla project is practicing.I suggest using bugzilla for trading .psd files
> for now.

The problem with that is when .psd files run over the 300k limit of bugzilla.
> The problem with that is when .psd files run over the 300k limit of bugzilla.
> 

I guess that (large file size ) is a reason for not having .psd files in CVS as
well. How do other projects handle this need?
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: