Closed
Bug 412258
Opened 16 years ago
Closed 16 years ago
A category color is not displayed if the category name contains more then 2 words
Categories
(Calendar :: Calendar Frontend, defect)
Calendar
Calendar Frontend
Tracking
(Not tracked)
VERIFIED
FIXED
0.8
People
(Reporter: omar.bajraszewski, Assigned: Fallen)
Details
Attachments
(1 file)
11.69 KB,
patch
|
sebo.moz
:
review+
|
Details | Diff | Splinter Review |
It may be related to bug 355874. I can reproduce it with Sunbird&Lightning 0.7 and 0.8pre Steps to reproduce: 1)Install Lightning and change default calendar color to i.e. green 2)Create a new category "Birthdays and anniversaries" and set color i.e. red 3)Create a new event with the category Result: The event is displayed without the category color
Flags: wanted-calendar0.8?
Reporter | ||
Comment 1•16 years ago
|
||
I checked pref.js. The category I've created looks like: user_pref("calendar.category.color.birthdays_and anniversary", "#CCFFFF"); If it looks like: user_pref("calendar.category.color.birthdays and anniversary", "#CCFFFF"); it may be no problem with displaying a color
Assignee | ||
Comment 2•16 years ago
|
||
Only the first space was replaced correctly. This patch moves the fixing to a general function which replaces all spaces with underscores. This will also ease up bug 321010.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #296944 -
Flags: review?(Berend.Cornelius)
Updated•16 years ago
|
OS: Windows XP → All
Hardware: PC → All
Version: Mozilla 1.8 Branch → unspecified
Comment 3•16 years ago
|
||
Comment on attachment 296944 [details] [diff] [review] Fix category names Philipp asked me to take over if I find time. Patch works as expected.
Attachment #296944 -
Flags: review?(Berend.Cornelius) → review+
Assignee | ||
Comment 4•16 years ago
|
||
Checked in on HEAD and MOZILLA_1_8_BRANCH -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: wanted-calendar0.8?
Resolution: --- → FIXED
Target Milestone: --- → 0.8
Reporter | ||
Comment 5•16 years ago
|
||
verified with Lightning 2008012609 and Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.12pre) Gecko/20080123 Calendar/0.8pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•