Index: QxStatusBarPane.js
===================================================================
RCS
file: /home/cvsroot/qooxdoo_3rd_party/source/script/widgets/QxStatusBarPane.js,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -r1.1.2.2 -r1.1.2.3
6c6
< $Id: QxStatusBarPane.js,v 1.1.2.2 2006/02/07 01:08:13 kols Exp $
---
> $Id: QxStatusBarPane.js,v 1.1.2.3 2006/02/07 01:08:49 kols Exp $
33c33
< this.setWidth(QxConst.CORE_AUTO);
---
> this.setAppearance("statusbar-pane");
35,39c35,37
< this._component = vComponent;
< vComponent.setPaddingLeft(1);
< vComponent.setPaddingRight(1);
<
< this.add(vComponent);
---
> if(QxUtil.isValidObject(vComponent)) {
> this.setComponent(vComponent);
> };
44a43,53
> /*
>
------------------------------------------------------------------------------------
> PROPERTIES
>
------------------------------------------------------------------------------------
> */
>
> /*!
> The main menu bar if any.
> */
> QxStatusBarPane.addProperty({ name : "component", type :
QxConst.TYPEOF_OBJECT, allowNull : true });
>
48c57
< STYLES & BEHAVIOR
---
> MODIFIERS
52c61
< proto._applyInitialStyle = function()
---
> proto._modifyComponent = function(propValue, propOldValue, propData)
54,57c63,73
< this.setBorder(QxBorderObject.presets.inset);
< this.setColor("windowtext");
< this.setBackgroundColor("threedface");
< // this.setBorder(1, QxConst.BORDER_STYLE_INSET, "windowtext");
---
> if(propOldValue != null) {
> this.remove(propOldValue);
> propOldValue.dispose();
> propOldValue = null;
> };
>
> this.add(propValue);
>
> propValue.setAppearance("statusbar-component");
>
> return true;
73c89,91
< if (this._component)
---
> var component = this.getComponent();
>
> if (component)
75,76c93,94
< this._component.dispose();
< this._component = null;
---
> component.dispose();
> component = null;
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel