Changeset 271 for lang/javascript/userchrome
- Timestamp:
- 09/24/07 14:59:23 (16 months ago)
- Files:
-
- 1 modified
-
lang/javascript/userchrome/tumblr-multi.uc.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userchrome/tumblr-multi.uc.js
r269 r271 47 47 this.panel = document.createElementNS(kXULNS, "statusbarpanel"); 48 48 49 // this.mg = document.createElementNS(kXULNS, "image"); 50 // this.img.setAttribute("src", iconimg); 51 // this.panel.appendChild(this.img); 49 this.img = document.createElementNS(kXULNS, "image"); 50 this.iconimg = <><![CDATA[ 51 data:image/gif;base64, 52 R0lGODlhDgAOAKIBAEx/GP///6PWcIe6VHyuSoG0To/CXP7+/iH5BAEAAAEA 53 LAAAAAAOAA4AAAM7GLoMsC5KIR6gOBdCnBhgGHLeIEVkcBUPo1pr6wbmNStX 54 XcmQ0KmUk6dzMRgyGFJRVNhwfgCQMALhzRIAOw== 55 ]]></>.replace(/\s/g, ""); 56 this.img.setAttribute("src", this.iconimg); 57 this.panel.appendChild(this.img); 52 58 53 59 this.lbl = document.createElementNS(kXULNS, "label"); 54 this.lbl.setAttribute("value", "Not logged in");55 60 this.panel.appendChild(this.lbl); 56 61 … … 66 71 this.panel.id = this.ID; 67 72 statusbar.appendChild(this.panel); 73 74 75 this.setStatus("Not logged in"); 68 76 }, 69 77 … … 122 130 123 131 setStatus : function (msg) { 124 this.lbl.setAttribute("value", msg); 132 // this.lbl.setAttribute("value", msg); 133 this.panel.setAttribute("tooltiptext", msg); 125 134 }, 126 135 };
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)