Bug 444292-Replace Decorated Header (Nav Bar) by standard Items;r=philipp;

This commit is contained in:
Berend.Cornelius%sun.com 2008-07-11 10:33:16 +00:00
Родитель 938e119e4a
Коммит a6b6858119
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -81,13 +81,6 @@
this.mEndDate = aEndDate;
this.mToolTipTexts = aToolTipTexts;
this.mViewElement = aViewElement;
]]></body>
</method>
<method name="initialize">
<parameter name="aPaddingStart"/>
<parameter name="aPaddingEnd"/>
<body><![CDATA[
this.setAttribute("style", "-moz-padding-start: " + (aPaddingStart) + "px; -moz-padding-end: " + aPaddingEnd + "px;");
if (this.mStartDate) {
var intervalLabel = document.getAnonymousElementByAttribute(this, "anonid", "intervalDescription");
var startString = new Object();
@ -101,7 +94,7 @@
var endDate = this.mEndDate.clone();
// 'formatInterval handles the endDate exclusively, so we have
// to increment the day priorily...
endDate.day -= 1;
endDate.day += 1;
var interval = getDateFormatter().formatInterval(this.mStartDate, endDate, startString, endString);
intervalLabel.value = startString.value + " - " + endString.value;
secondWeekNo = getWeekFormatter().getWeekTitle(this.mEndDate);
@ -120,6 +113,13 @@
}
]]></body>
</method>
<method name="initialize">
<parameter name="aPaddingStart"/>
<parameter name="aPaddingEnd"/>
<body><![CDATA[
this.setAttribute("style", "-moz-padding-start: " + (aPaddingStart) + "px; -moz-padding-end: " + aPaddingEnd + "px;");
]]></body>
</method>
<method name="moveView">
<parameter name="aNumber"/>
<body><![CDATA[