svnno****@sourc*****
svnno****@sourc*****
2007年 7月 24日 (火) 21:52:42 JST
Revision: 176 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=176 Author: flyson Date: 2007-07-24 21:52:42 +0900 (Tue, 24 Jul 2007) Log Message: ----------- あぼーんマネージャの prefwindow 化 Modified Paths: -------------- trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js trunk/bbs2chreader/chrome/content/bbs2chreader/statusbar.xml Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul 2007-07-24 12:51:31 UTC (rev 175) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul 2007-07-24 12:52:42 UTC (rev 176) @@ -4,56 +4,58 @@ -<dialog id="winMain" onload="startup()" ondialogaccept="return accept()" +<prefwindow id="winMain" onload="startup()" ondialogaccept="return accept()" title="あぼーん マネージャ" width="550" height="450" persist="screenX screenY width height" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - <script type="application/x-javascript" - src="chrome://bbs2chreader/content/settings/abone-manager.js"/> - -<tabbox flex="1"> - <tabs> - <tab label="NgNames"/> - <tab label="NgAddrs"/> - <tab label="NgId"/> - <tab label="NgWords"/> - </tabs> - <tabpanels flex="1"> - <tabpanel orient="vertical"> +<prefpane id="pane1" label="名前"> + <preferences/> + <vbox> <hbox> <textbox id="txtNgNames" flex="1"/> <button label="追加" onclick="appendNgWord('names')"/> <button label="削除" onclick="removeNgWord('names')"/> </hbox> <listbox id="lstNgNames" flex="1"/> - </tabpanel> - <tabpanel orient="vertical"> + </vbox> +</prefpane> +<prefpane id="pane2" label="メール"> + <preferences/> + <vbox> <hbox> <textbox id="txtNgAddrs" flex="1"/> <button label="追加" onclick="appendNgWord('addrs')"/> <button label="削除" onclick="removeNgWord('addrs')"/> </hbox> <listbox id="lstNgAddrs" flex="1"/> - </tabpanel> - <tabpanel orient="vertical"> + </vbox> +</prefpane> + +<prefpane id="pane3" label="ID"> + <preferences/> + <vbox> <hbox> <textbox id="txtNgId" flex="1"/> <button label="追加" onclick="appendNgWord('id')"/> <button label="削除" onclick="removeNgWord('id')"/> </hbox> <listbox id="lstNgId" flex="1"/> - </tabpanel> - <tabpanel orient="vertical"> + </vbox> +</prefpane> + +<prefpane id="pane4" label="ワード"> + <preferences/> + <vbox> <hbox> <textbox id="txtNgWords" flex="1"/> <button label="追加" onclick="appendNgWord('words')"/> <button label="削除" onclick="removeNgWord('words')"/> </hbox> <listbox id="lstNgWords" flex="1"/> - </tabpanel> - </tabpanels> -</tabbox> + </vbox> +</prefpane> +<script type="application/x-javascript" src="chrome://bbs2chreader/content/settings/abone-manager.js"/> -</dialog> \ No newline at end of file +</prefwindow> \ No newline at end of file Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js 2007-07-24 12:51:31 UTC (rev 175) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js 2007-07-24 12:52:42 UTC (rev 176) @@ -153,6 +153,6 @@ openAboneManager: function(){ var aboneManagerURL = "chrome://bbs2chreader/content/settings/abone-manager.xul"; - window.openDialog(aboneManagerURL, "_blank", "chrome, resizable"); + window.openDialog(aboneManagerURL, "_blank", "chrome, resizable, toolbar"); } }; \ No newline at end of file Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/statusbar.xml =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/statusbar.xml 2007-07-24 12:51:31 UTC (rev 175) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/statusbar.xml 2007-07-24 12:52:42 UTC (rev 176) @@ -206,7 +206,7 @@ <method name ="_openAboneManager"> <body><![CDATA[ var aboneManagerURL = "chrome://bbs2chreader/content/settings/abone-manager.xul"; - window.openDialog(aboneManagerURL, "_blank", "chrome, modal, resizable"); + window.openDialog(aboneManagerURL, "_blank", "chrome, modal, resizable, toolbar"); ]]></body> </method>