Closed Bug 227930 Opened 21 years ago Closed 20 years ago

RFE: Update Calendar to use Qute style icons

Categories

(Calendar :: Sunbird Only, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kenneth, Assigned: mostafah)

Details

Attachments

(7 files, 7 obsolete files)

45.98 KB, image/png
Details
15.94 KB, image/png
Details
5.47 KB, image/png
Details
33.86 KB, patch
Details | Diff | Splinter Review
37.87 KB, patch
Details | Diff | Splinter Review
2.59 KB, patch
Details | Diff | Splinter Review
15.62 KB, patch
Details | Diff | Splinter Review
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030917 Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030917 Firebird/0.6.1+

Calendar should evolve to using the style and techniques used in the *Bird
implementations, including a new "Qute" style theme and methodology.

Reproducible: Always

Steps to Reproduce:
Hi Kenneth,
So I guess the plan would be to provide a new skin directory with all the
appropriate files.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file calendar.xul - (modified lines 415-450) (obsolete) β€”
Attached file monthView.xul (modified lines 76, 108) (obsolete) β€”
This is my first attempt to properly use Bugzilla, so I may need some coaching
as I use the system.  Basically all of the attached files (posted 2003-12-09)
are modifications to begin converting Calendar to the "Qute" style.  Eventually,
ideally, all icons will go into the "icons" directory and the structure will
become more like TB and FB.

The icons here are mostly from the existing set, with some existing ones from
Qute pulled from the browser.  Both regular sized and small toolbar icons are
included, although I do not know how to add the toolbar customization to choose
small icons.

Also, ideally the modified lines in calendar.css would go in an external file
(primaryToolbar.css) and be imported into calendar.css.  But again, I'm not
knowledgable enough to do this just yet.

Updated graphical icons for the Qute style to come as I'm able to do them, or I
would encourage someone else with further experience in icon creation to step up
to help.

Modified files:
calendar.css
monthView.xul
calendar.xul

Deleted:
btn1.gif
btnwm1.gif
btn1.png
prevnextarrow.png

Created:
icons/
icons/calendar-toolbar.png
icons/calendar-toolbar-small.png
icons/prevnextarrow.png
Attached patch patches to calendar xul files (obsolete) β€” β€” Splinter Review
this is a patch that corresponds to the changes made in calendar.xul and
monthView.xul
Comment on attachment 137126 [details] [diff] [review]
patches to calendar xul files

Please provide patches using cvs code, otherwise they won't have any use.
Attachment #137126 - Attachment is obsolete: true
Attached patch changes to calendar.css (obsolete) β€” β€” Splinter Review
these are the changes to calendar/resources/skin/classic/calendar.css
Comment on attachment 137127 [details] [diff] [review]
changes to calendar.css

Please provide patches using cvs code, otherwise they won't have any use
Attachment #137127 - Attachment is obsolete: true
Attached patch patches to calendar xul files (obsolete) β€” β€” Splinter Review
this is a patch that corresponds to the changes made in calendar.xul and
monthView.xul, on latest CVS
Attached patch changes to calendar.css (obsolete) β€” β€” Splinter Review
these are the changes to calendar/resources/skin/classic/calendar.css (from
latest cvs)
Sorry, patches were against MOZILLA_1_5_BRANCH. (I did a cvs update but didn't
realise I had a tag), have updated...
kenneth: Any reason you changed the "id"s of the icons? If not can you just use
the old names to minimize the changes?
Kenneth is not getting emailed as comments are added. Ccing him to see if it works.
kenneth: Are you using the latest code from CVS? Please do so, because your
proposed changes are backing out some fixes recently made to the code.
Example:

 .week-view-event-class[eventselected="true"]
 {
-   background-color     :  #D5E3F2;  
-   border	        : 2px solid #990000;
+   background-color  : #D5E3F2;
+	border				: 1px solid #003366;
 }

which was fixed for bug 210236 here( see bottom ):
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=calendar.css&branch=&root=/cvsroot&subdir=mozilla/calendar/resources/skin/classic&command=DIFF_FRAMESET&rev1=1.43&rev2=1.44
Honestly I wasn't using the code from the CVS.  I've yet a great deal to learn 
about the process and am reading the Hacking Mozilla section of the site now.  
Originally this started out as just my tweaking Eric Belhaire's Calendar for 
Thunderbird code.

Thanks for the advice,
Kenneth
The rabbit hole is deep, but also very rewarding... ;)
I've made my changes to the file from the CVS.	Also, to address the comment
about why I changed the button names, it was to remain consistent with the
style in which Thunderbird/Firebird are done.  It could easily be changed back
if this isn't kosher with folks.

Thanks,
Kenneth
Attachment #137113 - Attachment is obsolete: true
Attachment #137115 - Attachment is obsolete: true
Attached patch patches to calendar.xul β€” β€” Splinter Review
updated patch for calendar.xul based on latest CVS
Attachment #137133 - Attachment is obsolete: true
Attached patch changes to calendar.css β€” β€” Splinter Review
changes to calendar.css updated from latest CVS. Does not include name changes
any more
Attachment #137134 - Attachment is obsolete: true
Kenneth, should the monthView.xul attachment be obsoleted, seeing as those
changes aren't included in calendar.css anymore?
Question: Where are the "small" toolbar icons supposed to show up? Applying the
patch I get the big Qute icons for the main toolbar but I don't know where to
look for the small ones.
Also I have problems with the prev and next arrows ( they all show up ). It
might just be me though.
Comment on attachment 137116 [details]
monthView.xul (modified lines 76, 108)

This is obsolete as the month change has gone back to the old method
Attachment #137116 - Attachment is obsolete: true
Responding to #26... this is for a later implementation of the customazible 
toolbar used in Firebird and Thunderbird.  I have no idea at this stage how it 
is done, but ideally it would include this similar functionality at some 
point.  That way we have that much work out of the way.

Ken
Sipaq on the Mozillazine forums has requested work to be done on revising the
classic theme for Sunbird. I am doing this work (with the help of a graphic artist).

With the theme changes for Firefox and Thunderbird, the theme for Sunbird will
not be using Qute style graphics. Therefore, should this bug be WONTFIXed and a
new bug be created for the theme revision? I don't see an existing bug for the
theme work but I have some questions and would like some guidance.
-> WONTFIX
Like Chris said, we're looking for a totally new theme, though that may even be
a    Qute-like theme if Mostafah says so. 

Chris please open a new bug for the new theme contest and please CC me on that bug.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
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

Creator:
Created:
Updated:
Size: