Changeset 730d3c


Ignore:
Timestamp:
Jan 4, 2010, 8:05:48 PM (12 years ago)
Author:
rene <rene@…>
Branches:
multiEdit, ng_0.6, ng_0.8, ng_0.9
Children:
ecd2c8
Parents:
bb165c
Message:

use server.prettyName instead of identityName for standard IDs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/v_identity.xml

    rbb165c r730d3c  
    358358        for (var index = 0; index < MenuItems.length; index++) {
    359359            var identity = gAccountManager.getIdentity(MenuItems[index].getAttribute("value"));
     360            vI_notificationBar.dump("\n** newIdentity: " + " \n");
     361           
     362            var description;
     363            var server = gAccountManager.GetServersForIdentity(identity).QueryElementAt(0, Components.interfaces.nsIMsgIncomingServer);
     364            // if (server.type == "nntp")
     365                description = server.prettyName
     366            // else description = identity.description?"- "+identity.description:identity.accountname
    360367           
    361368            var newIdentity = new identityData(identity.email, identity.fullName, identity.key,
    362                         identity.smtpServerKey, null,
    363                         identity.description?"- "+identity.description:identity.accountname)
     369                        identity.smtpServerKey, null, description)
    364370            newIdentity.extras.readIdentityValues(identity);
    365371
Note: See TracChangeset for help on using the changeset viewer.