チェンジセット 143 : trunk/components

差分発生行の前後
無視リスト:
更新日時:
2010/12/29 17:39:45 (17 か月 前)
更新者:
h
ログメッセージ:

1.2をマージ。

ファイル:
1 変更

凡例:

変更なし
追加
削除
  • trunk/components/vocalofx.js

    r96 r143  
    1414        handle: function(commandLine){ 
    1515                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")){ 
    1719                        var watcher = Cc['@mozilla.org/embedcomp/window-watcher;1'].getService(Ci.nsIWindowWatcher); 
    1820                        watcher.openWindow(null, "chrome://vocalofx/content/splash/splash.xul", "vocalofx-splash", "chrome,centerscreen,alwaysRaised=yes,titlebar=no,modal=yes", null);