#!/bin/bash

echo '
<svg version="1.1" width="200" height="20" id="svg1">
  <text x="11" y="16" style="fill:#222222;font-family:DejaVu;font-style:italic;font-weight:bold;font-size:16;text-anchor:start">
	Made with Gtkdialog
  </text>
  <text x="10" y="15" style="fill:#009D28;font-family:DejaVu;font-style:italic;font-weight:bold;font-size:16;text-anchor:start">
	Made with Gtkdialog
  </text>
</svg>' > $WORKDIR/about_button.svg

export pmusic_about='
<window title="pMusic - '$(gettext 'About')'" icon-name="pmusic" resizable="false">
 <notebook labels="'$(gettext 'About')'|'$(gettext 'License')'|'$(gettext 'Credits')'">
  <vbox>
   <eventbox name="svgsplash" height-request="200" space-expand="true" space-fill="true">
    <vbox spacing="0" space-expand="true" space-fill="true">
     <hbox space-expand="false" space-fill="false">
      <text xpad="20" ypad="51" use-markup="true" justify="1" space-expand="false" space-fill="false"><label>"<i><span color='"'#789978'"'><small>Copyright (C) 2008-2015</small></span></i>"</label></text>
      <text space-expand="true" space-fill="true"><label>""</label></text>
     </hbox>
     <text space-expand="true" space-fill="true"><label>""</label></text>
     <hbox space-expand="false" space-fill="false">
      <text space-expand="true" space-fill="true"><label>""</label></text>
      <text xpad="10" ypad="0" use-markup="true" justify="1" space-expand="false" space-fill="false"><label>"<big><i><span color='"'#ADD0AD'"'>Sigmund Berglund</span></i></big>"</label></text>
     </hbox>
     <hbox space-expand="false" space-fill="false">
      <text space-expand="true" space-fill="true"><label>""</label></text>
      <text xpad="10" ypad="8" use-markup="true" justify="1" space-expand="false" space-fill="false"><label>"<big><i><span color='"'#ADD0AD'"'>and the Puppylinux community</span></i></big>"</label></text>
     </hbox>
    </vbox>
   </eventbox>
   <vbox space-expand="false" space-fill="false">
   <button space-expand="true" space-fill="true">'"
    <label>\"http://www.murga-linux.com/puppy/viewtopic.php?t=31206\"</label>
    <action>export GTK2_RC_FILES=$HOME/.gtkrc-2.0; $BROWSER http://www.murga-linux.com/puppy/viewtopic.php?t=31206 &</action>
   </button>
   </vbox>
  </vbox>
  <frame>
   <text use-markup=\"true\"><label>\"   pMusic is released under the <b>GNU General Public License</b> (GPL). You have the right to use and modify this software in any way you like, so long as any derivative works remain under a GPL license.
   
   This program is distributed in the hope that it will be useful, but <b><span color='"'red'"'>WITHOUT ANY WARRANTY</span></b>. See the GNU General Public License homepage for more details.\"</label></text>
   <hbox>
    <button>
     <label>\"http://www.gnu.org/licenses/\"</label>
     <action>export GTK2_RC_FILES=$HOME/.gtkrc-2.0; $BROWSER http:\/\/www.gnu.org\/licenses\/</action>
    </button>"'
   </hbox>
  </frame>
  <frame>
   <vbox space-expand="true" space-fill="true">
    <edit editable="false" left_margin="10" space-expand="true" space-fill="true">
     <input file>'$APPDIR'/txt_about</input>
    </edit>
    <hbox space-expand="false" space-fill="false">
     <button space-expand="true" space-fill="true">
      <input file>'$WORKDIR'/about_button.svg</input>
      <action>export GTK2_RC_FILES='$HOME'/.gtkrc-2.0; '$BROWSER' https://code.google.com/p/gtkdialog/</action>
     </button>
    </hbox>
   </vbox>
  </frame>
 </notebook>
</window>'
