チェンジセット 109 : branches

差分発生行の前後
無視リスト:
更新日時:
2010/01/16 19:22:27 (2 年 前)
更新者:
h
ログメッセージ:

fixes #41
linuxでスプラッシュスクリーンが「名前のないダイアログ」と出てくるので仮にタイトルを入れた。
ロゴ上のスペースの高さをprefから取得するよう修正。

パス:
branches/release-1.0
ファイル:
5 変更

凡例:

変更なし
追加
削除
  • branches/release-1.0/chrome/content/splash/splash.js

    r105 r109  
    99        var height = pref.getIntPref("extensions.vocalofx.skin_splash.screen_height"); 
    1010        var logo_image = pref.getCharPref("extensions.vocalofx.skin_splash.screen_logo"); 
     11        var spacer_height = pref.getIntPref("extensions.vocalofx.skin_splash.screen_spacer_height"); 
    1112        if(!image){ 
    1213                image = "chrome://vocalofx/content/splash/eclipse-3.4.png"; 
     
    3435        var header = document.getElementById("header-30mac"); 
    3536        var footer = document.getElementById("footer-30mac"); 
    36         header.height = 180; 
     37        header.height = spacer_height; 
    3738        footer.height = height - logo.height - header.height; 
    3839 
  • branches/release-1.0/chrome/content/splash/splash.xul

    r105 r109  
    33<!DOCTYPE dialog SYSTEM "chrome://vocalofx/locale/vocalofx.dtd"> 
    44<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    5         id="vocalofx-splash" onload="init();" hidechrome="true"> 
     5        title="&vocalofx.name;" id="vocalofx-splash" onload="init();" hidechrome="true"> 
    66        <script type="application/x-javascript" src="chrome://vocalofx/content/splash/splash.js"/> 
    77        <keyset> 
  • branches/release-1.0/chrome/locale/en-US/vocalofx.dtd

    r107 r109  
     1<!ENTITY vocalofx.name "VocaloFx"> 
    12<!ENTITY vocalofx.menu.readme.label "README"> 
    23<!ENTITY vocalofx.menu.config.label "Settings"> 
  • branches/release-1.0/chrome/locale/ja/vocalofx.dtd

    r107 r109  
     1<!ENTITY vocalofx.name "ぼかろFx"> 
    12<!ENTITY vocalofx.menu.readme.label "README"> 
    23<!ENTITY vocalofx.menu.config.label "設定"> 
  • branches/release-1.0/defaults/preferences/vocalofx.js

    r100 r109  
    2121pref("extensions.vocalofx.skin_splash.screen_width", 455); 
    2222pref("extensions.vocalofx.skin_splash.screen_height", 303); 
     23pref("extensions.vocalofx.skin_splash.screen_spacer_height", 180); 
    2324pref("extensions.vocalofx.skin_splash.screen_logo", "chrome://vocalofx/content/splash/logo.png"); 
    2425pref("extensions.vocalofx.skin_splash.voice", "chrome://vocalofx/content/splash/miku_kidou.wav");