#!/bin/sh
#January, 2007 Nathan Fisher

# Determine the path to this application.
CURDIR="`pwd`"
APPDIR=`dirname "$0"`
cd "${APPDIR}"
APPDIR="`pwd`"
cd "${CURDIR}"

VERSION=`cat $APPDIR/.version`

export ABOUT_DIALOG="
<window title=\"Grafburn: about\" icon-name=\"gtk-dialog-info\" window-position=\"2\">
 <vbox>
  <pixmap>
   <input file>$APPDIR/icons/big/grafburn.png</input>
  </pixmap>
  <notebook labels=\"バージョン情報|著作|ライセンス\">
   <vbox>
    <text use-markup=\"true\">
     <label>\"<b>Grafburn-${VERSION}</b> 2007年5月公開\"</label>
    </text>
    <hbox>
     <text use-markup=\"true\">
      <label>GrafburnはgtkdialogとXdialogを使ったcdrtools、cdrdao、dvd+rwtoolsのフロントエンドです。 データと音声ディスクを作製することができるリッチでシンプルな、CDとDVD作成プログラムであることを目的とします。</label>
     </text>
    </hbox>
   </vbox>
   <vbox>
     <text use-markup=\"true\">
      <label>\"プログラムインターフェース作成： <b>Nathan Fisher</b>\"</label>
     </text>
     <text use-markup=\"true\">
      <label>\"burniso2cdベースの一部： <b>Barry Kauler</b>\"</label>
     </text>
     <text use-markup=\"true\">
      <label>\"Cdrtools作成： <b>Jörg Schilling</b>\"</label>
     </text>
   </vbox>
   <vbox>
    <text>
     <label>Grafburn is released under the GPL version 2, with the exception of the burn_iso script, which is based on burniso2cd and is licensed under an lgpl license.</label>
    </text>
    <hbox>
     <button>
      <input file stock=\"gtk-edit\"></input>
      <label>見る</label>
      <action>defaulttexteditor $APPDIR/gpl.txt</action>
     </button>
    </hbox>
   </vbox>
  </notebook>
  <hbox>
   <button ok></button>
  </hbox>
 </vbox>
</window>"

gtkdialog3 --program ABOUT_DIALOG





