Bug 953661 - Fix accessible name of account items in the richlistbox of the account manager.
authorFlorian Quèze <florian@instantbird.org>
Wed, 05 May 2010 23:45:03 +0200
changeset 18046 e08a567d8b029d7efd9c0d1bc8a00472120c4300
parent 18045 cee2521dfa6a198c06bdba73cece854a83d96c30
child 18047 6d06eea0ffaea605c660b4160116ce95c198acc0
push idunknown
push userunknown
push dateunknown
bugs953661
Bug 953661 - Fix accessible name of account items in the richlistbox of the account manager.
im/content/account.xml
--- a/im/content/account.xml
+++ b/im/content/account.xml
@@ -252,16 +252,19 @@
              this.removeAttribute("autologin");
            if (this._account.autoLogin != val)
              this._account.autoLogin = val;
            return val;
          ]]>
        </setter>
      </property>
 
+     <!-- override the default accessible name -->
+     <property name="label" onget="return this.getAttribute('name');"/>
+
      <property name="account" onget="return this._account;"/>
 
      <property name="connectedLabel">
        <getter>
          <![CDATA[
            if (!this._connectedLabel)
              this._connectedLabel =
                document.getAnonymousElementByAttribute(this, "anonid", "connected");