bug 337885 - Adds return val to all xbl setters. thanks to Ehsan Akhgari ehsan.akhgari@gmail.com for patch, r1=lilmatt, r2=jminta

This commit is contained in:
mattwillis%gmail.com 2006-09-05 17:20:01 +00:00
parent d9f4fc9302
commit deb5744c2a
7 changed files with 24 additions and 2 deletions

View File

@ -79,6 +79,7 @@
// Add our blank attendee
this.addAttendee(null, true);
this.mLoading = false;
return val;
]]></setter>
</property>

View File

@ -131,6 +131,7 @@
]]></getter>
<setter><![CDATA[
this.mWorkdaysOnly = val;
return val;
]]></setter>
</property>
@ -167,6 +168,7 @@
]]></getter>
<setter><![CDATA[
this.mTasksInView = val;
return val;
]]></setter>
</property>
@ -176,6 +178,7 @@
]]></getter>
<setter><![CDATA[
document.getAnonymousElementByAttribute(this, "anonid", "view-element").controller = val;
return val;
]]></setter>
</property>
@ -185,6 +188,7 @@
]]></getter>
<setter><![CDATA[
document.getAnonymousElementByAttribute(this, "anonid", "view-element").displayCalendar = val;
return val;
]]></setter>
</property>
@ -194,6 +198,7 @@
]]></getter>
<setter><![CDATA[
document.getAnonymousElementByAttribute(this, "anonid", "view-element").timezone = val;
return val;
]]></setter>
</property>

View File

@ -156,6 +156,7 @@
if (this.selectedDay) {
this.goToDay(this.selectedDay);
}
return val;
]]></setter>
</property>

View File

@ -1,5 +1,4 @@
<?xml version="1.0"?>
<!--
- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
@ -87,6 +86,7 @@
this.setEditableLabel();
this.setCSSClasses();
return val;
]]></setter>
</property>
<property name="parentBox"
@ -210,6 +210,7 @@
this.setAttribute("selected", "true");
else
this.removeAttribute("selected");
return val;
]]></setter>
</property>
@ -789,6 +790,7 @@
]]></getter>
<setter><![CDATA[
this.mWeekStartOffset = val;
return val;
]]></setter>
</property>
@ -847,6 +849,7 @@
]]></getter>
<setter><![CDATA[
this.mTasksInView = val;
return val;
]]></setter>
</property>
@ -856,6 +859,7 @@
]]></getter>
<setter><![CDATA[
this.mShowFullMonth = val;
return val;
]]></setter>
</property>
@ -881,6 +885,7 @@
if (this.mController.selectionManager)
this.mController.selectionManager.replaceSelection(this.mSelectedItem);
}
return val;
]]></setter>
</property>

View File

@ -288,6 +288,7 @@
this.mPixPerMin = val;
this.relayout();
}
return val;
]]></setter>
</property>
@ -1305,6 +1306,7 @@
]]></getter>
<setter><![CDATA[
this.mDate = val;
return val;
]]></setter>
</property>
@ -1314,6 +1316,7 @@
]]></getter>
<setter><![CDATA[
this.mCalendarView = val;
return val;
]]></setter>
</property>
@ -1847,6 +1850,7 @@
this.mCalendar.addObserver (this.mObserver);
this.refresh();
return val;
]]></setter>
</property>
@ -1888,6 +1892,7 @@
]]></getter>
<setter><![CDATA[
this.mTasksInView = val;
return val;
]]></setter>
</property>
@ -2113,6 +2118,7 @@
]]></getter>
<setter><![CDATA[
this.mInPlaceEditActive = val;
return val;
]]></setter>
</property>

View File

@ -88,6 +88,7 @@
this.mSelected = false;
this.removeAttribute("selected");
}
return val;
]]></setter>
</property>
<property name="calendarView">
@ -96,6 +97,7 @@
]]></getter>
<setter><![CDATA[
this.mCalendarView = val;
return val;
]]></setter>
</property>
@ -108,6 +110,7 @@
this.mOccurrence = val;
this.setEditableLabel();
this.setCSSClasses();
return val;
]]></setter>
</property>

View File

@ -163,6 +163,7 @@
if (this.mCalendar)
this.mCalendar.addObserver(this.mOperationListener);
this.rebuildDisplay();
return val;
]]></setter>
</property>
@ -263,7 +264,7 @@
<property name="manager">
<getter><![CDATA[ return this.mManager; ]]></getter>
<setter><![CDATA[ this.mManager = val; ]]></setter>
<setter><![CDATA[ this.mManager = val; return val; ]]></setter>
</property>
<property name="label">