Mercurial > snowl
diff modules/service.js @ 358:c00b3db58dcf
add 'snowl' to all observer topics to avoid conflicts with other extensions/core code; use the Observers component everywhere
author | Myk Melez <myk@mozilla.org> |
---|---|
date | Tue, 04 Nov 2008 12:11:07 -0800 |
parents | 1db123f46ed7 |
children | 6916b17a0536 |
line wrap: on
line diff
--- a/modules/service.js Mon Nov 03 18:02:27 2008 -0800 +++ b/modules/service.js Tue Nov 04 12:11:07 2008 -0800 @@ -78,15 +78,6 @@ return this._prefSvc; }, - // Observer Service - get _obsSvc() { - let obsSvc = Cc["@mozilla.org/observer-service;1"]. - getService(Ci.nsIObserverService); - delete this._obsSvc; - this._obsSvc = obsSvc; - return this._obsSvc; - }, - get _dirSvc() { let dirSvc = Cc["@mozilla.org/file/directory_service;1"]. getService(Ci.nsIProperties); @@ -237,7 +228,6 @@ let type; try { type = eval(row.type); - this._log.info("got " + row.type + " for " + row.name); } catch(ex) { this._log.error("error getting " + row.name + ": " + ex);