Bug 340477 add bold styling to the 'header' rows in the agenda-tree-view, r=lilmatt

This commit is contained in:
jminta%gmail.com 2006-10-27 03:01:47 +00:00
parent 1c70977f59
commit 8f289e3fa0
3 changed files with 17 additions and 1 deletions

View File

@ -218,7 +218,15 @@ agendaTreeView.getImageSrc =
function getImageSrc(row, column) { return null; };
agendaTreeView.getCellProperties =
function getCellProperties(row, column) { return null; };
function getCellProperties(row, column, props) {
if (!this.isContainer(row)) {
return;
}
var atomSvc = Components.classes["@mozilla.org/atom-service;1"]
.getService(Components.interfaces.nsIAtomService);
props.AppendElement(atomSvc.getAtom("agenda-header"));
};
agendaTreeView.getRowProperties =
function getRowProperties(row) { return null; };

View File

@ -66,6 +66,10 @@ treechildren::-moz-tree-image(col-calendar-Checkbox, unchecked) {
list-style-image: url("chrome://calendar/skin/checkbox_unchecked.png");
}
treechildren::-moz-tree-cell-text(agenda-header) {
font-weight: bold;
}
/*--------------------------------------------------------------------
* Navigation controls for the views
*-------------------------------------------------------------------*/

View File

@ -66,6 +66,10 @@ treechildren::-moz-tree-image(col-calendar-Checkbox, unchecked) {
list-style-image: url("chrome://calendar/skin/checkbox_unchecked.png");
}
treechildren::-moz-tree-cell-text(agenda-header) {
font-weight: bold;
}
/*--------------------------------------------------------------------
* Navigation controls for the views
*-------------------------------------------------------------------*/