/thunderbird/movetofolder/trunk/chrome/content/prefs.js |
---|
0,0 → 1,20 |
function MoveToFolderPrefs() { |
var svc = Components.classes["@mozilla.org/preferences-service;1"] |
.getService(Components.interfaces.nsIPrefService); |
this.prefs = svc.getBranch("extensions.movetofolder."); |
} |
MoveToFolderPrefs.prototype = { |
getToFolderURI: function() { |
try { |
return this.prefs.getCharPref("toFolderURI"); |
} |
catch(ex) { |
return ""; |
} |
}, |
setToFolderURI: function(value) { |
this.prefs.setCharPref("toFolderURI", value); |
}, |
} |