calendar: Fix grid non-US week layouts
http://people.freedesktop.org/~david/calendar-grid-non-US-locale-collapse-bug.png This was discovered when working on bug 641049: https://bugzilla.gnome.org/show_bug.cgi?id=641049 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
d6749589e8
commit
25434e42d0
@ -578,7 +578,7 @@ Calendar.prototype = {
|
|||||||
// Hack used in lieu of border-collapse - see gnome-shell.css
|
// Hack used in lieu of border-collapse - see gnome-shell.css
|
||||||
if (row == 2)
|
if (row == 2)
|
||||||
styleClass = 'calendar-day-top ' + styleClass;
|
styleClass = 'calendar-day-top ' + styleClass;
|
||||||
if (iter.getDay() == 0)
|
if (iter.getDay() == this._weekStart)
|
||||||
styleClass = 'calendar-day-left ' + styleClass;
|
styleClass = 'calendar-day-left ' + styleClass;
|
||||||
|
|
||||||
if (_sameDay(now, iter))
|
if (_sameDay(now, iter))
|
||||||
|
Loading…
Reference in New Issue
Block a user