Closed Bug 281216 Opened 20 years ago Closed 19 years ago

Sunbird won't change the week start date to monday on little calender top left

Categories

(Calendar :: Sunbird Only, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jon.power, Assigned: jminta)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Sunbird 0.2

I chose the option to have my week start on Monday. This worked in the main
window for the diary, but in the little window top left showing
Calender/Calenders, it still starts Sunday. This confuses me and I want all my
weeks to start Monday.

Reproducible: Always

Steps to Reproduce:
1.Start Sunbird
2.Choose Tools/options/Views
3.Change First day of The Week to Monday, select OK
4. Look at little Calender top left, no change there!

Actual Results:  
It didn't change.

Expected Results:  
The Calender should start on monday to match the main diary.
Workaround:  restart sunbird

--> minor
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: General → Sunbird and Calendar-Extension Front End
Ever confirmed: true
OS: Windows XP → All
Attached patch allow multiple refreshDisplay calls (obsolete) — — Splinter Review
refreshDisplay() is pretty useless right now, since it won't do anything once
the miniMonth has been created.  This allows refreshDisplay to actually do what
its name says.
Assignee: mostafah → jminta
Status: NEW → ASSIGNED
Attachment #192376 - Flags: first-review?(mvl)
Comment on attachment 192376 [details] [diff] [review]
allow multiple refreshDisplay calls

Part of refreshDisplay really only needs to be ran once, like setting
kMonthList etc. Can you move those to the constructor?
Also, please fix the indenting in refreshDisplay.
Moves the references setup to the constructor and fixes the indenting.
Attachment #192376 - Attachment is obsolete: true
Attachment #193397 - Flags: first-review?(mvl)
Attachment #192376 - Flags: first-review?(mvl)
Comment on attachment 193397 [details] [diff] [review]
allow multiple refreshDisplay calls v2

>+              var pref =  Components.classes[
>+                "@mozilla.org/preferences-service;1"
>+              ].getService(Components.interfaces.nsIPrefBranch);
style nit: I prefer
	      var pref = 
Components.classes["@mozilla.org/preferences-service;1"]
				   
.getService(Components.interfaces.nsIPrefBranch);

r=mvl
Attachment #193397 - Flags: first-review?(mvl) → first-review+
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
(In reply to comment #5)

> style nit: I prefer
> 	      var pref = 
> Components.classes["@mozilla.org/preferences-service;1"]
> 				   
> .getService(Components.interfaces.nsIPrefBranch);

This would make the line >80 chars.

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: