diff --git a/mozilla/calendar/base/content/agenda-listbox.xml b/mozilla/calendar/base/content/agenda-listbox.xml index f92f424647c..3613f6d1bef 100644 --- a/mozilla/calendar/base/content/agenda-listbox.xml +++ b/mozilla/calendar/base/content/agenda-listbox.xml @@ -101,9 +101,8 @@ if (showsToday) { this.kCheckbox.label = this.getAttribute("title"); } else { - if (synthetic.end.day == (synthetic.start.day + 1)) { - var label = getDateFormatter().formatDate(synthetic.start); - this.kCheckbox.label = label; + if (synthetic.duration == 1) { + this.kCheckbox.label = getDateFormatter().formatDate(synthetic.start); } else { this.kCheckbox.label = getDateFormatter().formatInterval(synthetic.start, synthetic.end); } diff --git a/mozilla/calendar/base/themes/pinstripe/today-pane.css b/mozilla/calendar/base/themes/pinstripe/today-pane.css index 2c49187156e..abcf2db2207 100644 --- a/mozilla/calendar/base/themes/pinstripe/today-pane.css +++ b/mozilla/calendar/base/themes/pinstripe/today-pane.css @@ -182,7 +182,6 @@ agenda-checkbox-richlist-item { -moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item"); -moz-user-focus: normal; - overflow: hidden; } agenda-richlist-item { diff --git a/mozilla/calendar/base/themes/winstripe/today-pane.css b/mozilla/calendar/base/themes/winstripe/today-pane.css index 8b0289e5512..8452bcf2f0a 100644 --- a/mozilla/calendar/base/themes/winstripe/today-pane.css +++ b/mozilla/calendar/base/themes/winstripe/today-pane.css @@ -185,7 +185,6 @@ agenda-checkbox-richlist-item { -moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item"); -moz-user-focus: normal; - overflow: hidden; } agenda-richlist-item {