Changeset 1084
- Timestamp:
- 2008-09-10 06:09:09 (2 months ago)
- Files:
-
- trunk/components/migrationService.js (modified) (2 diffs)
- trunk/modules/mediator.jsm (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/components/migrationService.js
r1049 r1084 69 69 this._execute(['Prefs', 'DropDowns', 'Filters', 'Remove']); 70 70 } 71 if (DTA.compare version(lastVersion, "1.0.1") < 0) {71 if (DTA.compareVersion(lastVersion, "1.0.1") < 0) { 72 72 this._execute(['ResetMaxConnections']); 73 73 } … … 76 76 params.SetNumberStrings(1); 77 77 params.SetString(0, DTA.VERSION); 78 Components.classes["@mozilla.org/embedcomp/window-watcher;1"] 79 .getService(Components.interfaces.nsIWindowWatcher) 80 .openWindow( 81 null, 82 "chrome://dta/content/about/notice.xul", 83 "_blank", 84 "chrome,centerscreen,all,alwaysRaised,dialog,modal", 85 params 86 ); 78 let mediator = {}; 79 Components.utils.import('resource://dta/mediator.jsm', mediator); 80 mediator.showNotice(null, params); 87 81 } 88 82 catch(ex) {
