Changeset 150871


Ignore:
Timestamp:
May 19, 2008, 2:09:24 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
aeaf9c
Parents:
acca96
Message:

use own prefroot variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_smtpSelector.js

    racca96 r150871  
    2626    smtpService : Components.classes["@mozilla.org/messengercompose/smtp;1"]
    2727                    .getService(Components.interfaces.nsISmtpService),
     28   
     29    prefroot : Components.classes["@mozilla.org/preferences-service;1"]
     30            .getService(Components.interfaces.nsIPrefService)
     31            .getBranch(null).QueryInterface(Components.interfaces.nsIPrefBranch2),
    2832   
    2933    elements : {
     
    5862   
    5963    addObserver: function() {
    60         vI_storage.prefroot.addObserver("extensions.virtualIdentity.show_smtp", vI_smtpSelector, false);
     64        vI_smtpSelector.prefroot.addObserver("extensions.virtualIdentity.show_smtp", vI_smtpSelector, false);
    6165    },
    6266   
    6367    removeObserver: function() {
    64         vI_storage.prefroot.removeObserver("extensions.virtualIdentity.show_smtp", vI_smtpSelector);
     68        vI_smtpSelector.prefroot.removeObserver("extensions.virtualIdentity.show_smtp", vI_smtpSelector);
    6569    },
    6670
Note: See TracChangeset for help on using the changeset viewer.