calendar: Fix style

This commit is contained in:
Jasper St. Pierre 2013-12-11 19:59:10 -05:00
parent 6a236fb91e
commit 04a31a52ae

View File

@ -622,9 +622,9 @@ const Calendar = new Lang.Class({
let styleClass = 'calendar-day-base calendar-day'; let styleClass = 'calendar-day-base calendar-day';
if (_isWorkDay(iter)) if (_isWorkDay(iter))
styleClass += ' calendar-work-day' styleClass += ' calendar-work-day';
else else
styleClass += ' calendar-nonwork-day' styleClass += ' calendar-nonwork-day';
// 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)
@ -641,7 +641,7 @@ const Calendar = new Lang.Class({
styleClass += ' calendar-other-month-day'; styleClass += ' calendar-other-month-day';
if (hasEvents) if (hasEvents)
styleClass += ' calendar-day-with-events' styleClass += ' calendar-day-with-events';
button.style_class = styleClass; button.style_class = styleClass;