Bug 409166-missing crop attribute in agenda checkbox;r=dbo

git-svn-id: svn://10.0.0.236/trunk@253836 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Berend.Cornelius%sun.com 2008-08-26 13:50:06 +00:00
parent 6223c77d06
commit 661f05e39b
3 changed files with 2 additions and 5 deletions

View File

@ -101,9 +101,8 @@
if (showsToday) { if (showsToday) {
this.kCheckbox.label = this.getAttribute("title"); this.kCheckbox.label = this.getAttribute("title");
} else { } else {
if (synthetic.end.day == (synthetic.start.day + 1)) { if (synthetic.duration == 1) {
var label = getDateFormatter().formatDate(synthetic.start); this.kCheckbox.label = getDateFormatter().formatDate(synthetic.start);
this.kCheckbox.label = label;
} else { } else {
this.kCheckbox.label = getDateFormatter().formatInterval(synthetic.start, synthetic.end); this.kCheckbox.label = getDateFormatter().formatInterval(synthetic.start, synthetic.end);
} }

View File

@ -182,7 +182,6 @@
agenda-checkbox-richlist-item { agenda-checkbox-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item"); -moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
-moz-user-focus: normal; -moz-user-focus: normal;
overflow: hidden;
} }
agenda-richlist-item { agenda-richlist-item {

View File

@ -185,7 +185,6 @@
agenda-checkbox-richlist-item { agenda-checkbox-richlist-item {
-moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item"); -moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
-moz-user-focus: normal; -moz-user-focus: normal;
overflow: hidden;
} }
agenda-richlist-item { agenda-richlist-item {