チェンジセット 75
- 更新日時:
- 2009/08/23 22:17:21 (2 年 前)
- パス:
- branches/release-1.0/chrome
- ファイル:
-
- 5 変更
-
content/config.js (変更) (5 diff)
-
content/config.xul (変更) (1 diff)
-
content/overlay.xul (変更) (1 diff)
-
content/vocalofx.js (変更) (1 diff)
-
locale/ja/vocalofx.dtd (変更) (1 diff)
凡例:
- 変更なし
- 追加
- 削除
-
branches/release-1.0/chrome/content/config.js
r73 r75 6 6 const SPLASH_VOICE = "splash_voice"; 7 7 const USE_ALLPARET = "use_allparet"; 8 const TOOL_STARTUP = "tool_onstartup"; 8 const TOOL_ONSTARTUP = "tool_onstartup"; 9 const PIAPROGM_BUTTON = "piapro_gm.button"; 10 const PIAPROGM_NOTINST = "piapro_gm.notinstalled"; 9 11 12 const ENABLED_ITEMS = "extensions.enabledItems"; 10 13 const ALERT_THEME = "extensions.vocalofx.skin_theme_alert"; 11 14 const DEFAULT_THEME = "{972ce4c6-7e08-4474-a285-3208198ce6fd}"; … … 16 19 const SPLASH_PROPERTY_VOICE = "extensions.vocalofx.skin_splash.voice"; 17 20 const SKIN_PROPERTY_USE_ALLPARET = "extensions.vocalofx.skin_use_allparet"; 21 const GREASEMONKEY_ID = "{e4a8a97b-f2ed-450b-b12d-ee082ba24781}"; 18 22 19 23 var icons_default = … … 66 70 splash_voice.checked = (prefBrc2.getCharPref(SPLASH_PROPERTY_VOICE) == ""); 67 71 68 var tool_onstartup = document.getElementById(TOOL_ STARTUP);72 var tool_onstartup = document.getElementById(TOOL_ONSTARTUP); 69 73 tool_onstartup.addEventListener("command", observe, true); 70 74 tool_onstartup.checked = !prefBrc2.getBoolPref(TOOL_PROPERTY_STARTUP); … … 73 77 use_allparet.addEventListener("command", observe, true); 74 78 use_allparet.checked = prefBrc2.getBoolPref(SKIN_PROPERTY_USE_ALLPARET); 79 80 var items = prefBrc2.getCharPref(ENABLED_ITEMS); 81 if(items.indexOf(GREASEMONKEY_ID) == -1){ 82 document.getElementById(PIAPROGM_NOTINST).collapsed = false; 83 document.getElementById(PIAPROGM_BUTTON).disabled = true; 84 } 75 85 } 76 86 … … 99 109 prefBrc2.setCharPref(SPLASH_PROPERTY_VOICE, voice); 100 110 } 101 else if(target.id == TOOL_ STARTUP){111 else if(target.id == TOOL_ONSTARTUP){ 102 112 prefBrc2.setBoolPref(TOOL_PROPERTY_STARTUP, !target.checked); 103 113 } -
branches/release-1.0/chrome/content/config.xul
r73 r75 59 59 <checkbox id="tool_onstartup" label="&vocalofx.config.other.tool_onstartup.label;"/> 60 60 <checkbox id="use_allparet" label="&vocalofx.config.other.use_allparet.label;"/> 61 <hbox><label id="piapro_gm.label" style="padding-top:0.5em;" value="&vocalofx.config.other.piapro_gm.label;"/><button label="&vocalofx.config.other.piapro_gm.button;" oncommand="openPiaprogmDialog();"/></hbox> 61 <hbox><label id="piapro_gm.label" style="padding-top:0.5em;" value="&vocalofx.config.other.piapro_gm.label;"/><button id="piapro_gm.button" label="&vocalofx.config.other.piapro_gm.button;" oncommand="openPiaprogmDialog();"/></hbox> 62 <label id="piapro_gm.notinstalled" value="&vocalofx.config.other.piapro_gm.notinstalled;" style="font-weight:bold;color:red;" collapsed="true"/> 62 63 </groupbox> 63 64 <!-- -
branches/release-1.0/chrome/content/overlay.xul
r74 r75 22 22 23 23 <menupopup id="menu_HelpPopup"> 24 <menuitem id="vocalofx-help" label="&vocalofx.menu.help.label;" oncommand="vocalofx.openReadMe ();"/>24 <menuitem id="vocalofx-help" label="&vocalofx.menu.help.label;" oncommand="vocalofx.openReadMeOrEE();"/> 25 25 </menupopup> 26 26 -
branches/release-1.0/chrome/content/vocalofx.js
r74 r75 368 368 , 369 369 openReadMe: function(){ 370 window.openNewTabWith("about:vocalofx"); 371 } 372 , 373 openReadMeOrEE: function(){ 370 374 try{ 371 375 var category = this.pref.getCharPref(this.SKIN_PROPERTY_CATEGORY); -
branches/release-1.0/chrome/locale/ja/vocalofx.dtd
r71 r75 30 30 <!ENTITY vocalofx.config.other.piapro_gm.label "ピアプロユーザー支援ツールを"> 31 31 <!ENTITY vocalofx.config.other.piapro_gm.button "インストール"> 32 <!ENTITY vocalofx.config.other.piapro_gm.notinstalled "Greasemonkeyがインストールされていません!"> 32 33 33 34 <!ENTITY vocalofx.alert.title "競合アドオンの警告">
