Changeset 994

Show
Ignore:
Timestamp:
2008-07-29 12:22:30 (3 months ago)
Author:
MaierMan
Message:

Accommodate recent changes in trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/serverswitcher/chrome/content/manager.js

    r954 r994  
    5555        }, 
    5656        adjustButton: function() { 
    57                 if (Preferences.getDTA(SSW_PREF_ENABLED, true)) { 
     57                if (Preferences.getExt(SSW_PREF_ENABLED, true)) { 
    5858                        $('toolssw').removeAttribute('off'); 
    5959                } 
     
    6363        }, 
    6464        toggle: function() { 
    65                 Preferences.setDTA(SSW_PREF_ENABLED, !Preferences.getDTA(SSW_PREF_ENABLED, true)); 
     65                Preferences.setExt(SSW_PREF_ENABLED, !Preferences.getDTA(SSW_PREF_ENABLED, true)); 
    6666                this.adjustButton();     
    6767        }, 
     
    7070                this._limits = {}; 
    7171                let c = {}; 
    72                 let limits = Preferences._pref.getChildList(SSW_PREF_LIMITS, c); 
     72                let limits = Cc['@mozilla.org/preferences-service;1'] 
     73                        .getService(Ci.nsIPrefBranch) 
     74                        .getChildList(SSW_PREF_LIMITS, c); 
    7375                 
    7476                for (let i = 0; i < c.value; ++i) { 
     
    8991        /*Dialog.*/startNext: function() { 
    9092                try { 
    91                         if (!Preferences.getDTA(SSW_PREF_ENABLED, true)) { 
     93                        if (!Preferences.getExt(SSW_PREF_ENABLED, true)) { 
    9294                                return SSW.origStartNext.apply(Dialog); 
    9395                        } 
  • sandbox/serverswitcher/chrome/content/paneServerSwitcher.js

    r955 r994  
    5454                this._limits = []; 
    5555                let c = {}; 
    56                 let limits = Preferences._pref.getChildList(SSW_PREF_LIMITS, c); 
     56                let limits = Cc['@mozilla.org/preferences-service;1'] 
     57                        .getService(Ci.nsIPrefBranch) 
     58                        .getChildList(SSW_PREF_LIMITS, c); 
    5759                limits.sort(); 
    5860                 
  • sandbox/serverswitcher/install.rdf

    r957 r994  
    66                <name>DownThemAll! ServerSwitcher</name> 
    77                <description>Processes the queue trying to use different servers where possible</description> 
    8                 <version>0.5</version> 
     8                <version>0.5.1</version> 
    99 
    1010                <creator>Nils Maier</creator> 
     
    1818                        <rdf:Description> 
    1919                                <id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id> 
    20                                 <minVersion>2.0.0.8</minVersion> 
    21                                 <maxVersion>3.0pre</maxVersion> 
     20                                <minVersion>3.0</minVersion> 
     21                                <maxVersion>3.0.*</maxVersion> 
    2222                        </rdf:Description> 
    2323                </targetApplication> 
     
    3636                        <rdf:Description> 
    3737                                <id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</id> 
    38                                 <minVersion>2.0.0.0</minVersion> 
    39                                 <maxVersion>3.0a1</maxVersion> 
     38                                <minVersion>3.0a</minVersion> 
     39                                <maxVersion>3.0.*</maxVersion> 
    4040                        </rdf:Description> 
    4141                </targetApplication> 
     
    4545                  <rdf:Description> 
    4646                    <id>{a463f10c-3994-11da-9945-000d60ca027b}</id> 
    47                     <minVersion>1.0</minVersion> 
    48                     <maxVersion>1.0.*</maxVersion> 
     47                    <minVersion>2.0b</minVersion> 
     48                    <maxVersion>2.0.*</maxVersion> 
    4949                  </rdf:Description> 
    5050                </targetApplication>             
     
    5353                        <rdf:Description> 
    5454                                <id>dta@downthemall.net</id> 
    55                                 <minVersion>1.0</minVersion> 
    56                                 <maxVersion>1.1a*</maxVersion> 
     55                                <minVersion>1.1a1</minVersion> 
     56                                <maxVersion>1.1.*</maxVersion> 
    5757                        </rdf:Description> 
    5858                </requires>