チェンジセット 143 : trunk/components
- 更新日時:
- 2010/12/29 17:39:45 (17 か月 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
trunk/components/vocalofx.js
r96 r143 14 14 handle: function(commandLine){ 15 15 var pref = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch2); 16 if(pref.getCharPref("extensions.vocalofx.skin_splash.screen")){ 16 var mediator = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator); 17 var wins = mediator.getEnumerator(null); 18 if(!wins.hasMoreElements() && pref.getCharPref("extensions.vocalofx.skin_splash.screen")){ 17 19 var watcher = Cc['@mozilla.org/embedcomp/window-watcher;1'].getService(Ci.nsIWindowWatcher); 18 20 watcher.openWindow(null, "chrome://vocalofx/content/splash/splash.xul", "vocalofx-splash", "chrome,centerscreen,alwaysRaised=yes,titlebar=no,modal=yes", null);
