#!/bin/sh

GTKDIALOG=gtkdialog

#export TMPDIR=/tmp/gtkdialog/examples/"`basename $0`"
#mkdir -p "$TMPDIR"

MAIN_DIALOG='
<window title="Quickpet Precise" window-position="1">
	<vbox>
	<menubar> 
  <menu>
    <menuitem tooltip-text="check quickpet precise version">
         <label>version</label>
         <action>/usr/local/quickpet_precise/version &</action>
    </menuitem>
    <menuitem tooltip-text="visit the puppy forum">
         <label>puppy forum</label>
         <action>defaultbrowser http://www.murga-linux.com/puppy/ &</action>
    </menuitem>
    <menuitem tooltip-text="visit quickpet page on forum">
         <label>quickpet help</label>
         <action>defaultbrowser http://murga-linux.com/puppy/viewtopic.php?t=83642 &</action>
    </menuitem>
    <menuitem>
         <label>woof-woof</label>
         <action>aplay /usr/share/audio/2barks.wav &</action>
    </menuitem>
    <label>help</label>
    </menu>
    <menu>
    <menuitem tooltip-text="change to small version">
         <label>small version</label>
         <action>/usr/local/quickpet_precise/size2 &</action>
         <action>exit:Exit</action>
    </menuitem>
    <label>quickpet size</label>
    </menu>
    <menu>
    <menuitem tooltip-text="update quickpet">
         <label>update</label>
         <action>/usr/local/quickpet_precise/update &</action>
         <action>exit:Exit</action>
    </menuitem>
    <label>update</label>
    </menu>
    </menubar>
		<notebook labels="Browsers|Internet|Audio|Video|Graphics|Games|Office&other|Useful pets|Drivers">
			<vbox>
			<text><label>if your using precise 5.7 & above you will need to install the devx for python apps to work!</label></text>
		     <button tooltip-text="install firefox 36">
		        <label>firefox</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qfirefox"></input>
				<action>/usr/local/quickpet_precise/firefox &</action>
			</button>
			<button tooltip-text="install opera 12-15">
		        <label>opera</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qopera"></input>
				<action>/usr/local/quickpet_precise/opera &</action>
			</button>
			<button tooltip-text="install google-chrome 41">
		        <label>chrome</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qGoogle-Chrome"></input>
				<action>/usr/local/quickpet_precise/chrome &</action>
			</button>
			<button tooltip-text="install palemoon 24.7.1">
		        <label>palemoon</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qpalemoon"></input>
				<action>/usr/local/quickpet_precise/palemoon &</action>
			</button>
			<button tooltip-text="install iron 25">
		        <label>iron</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qIron"></input>
				<action>/usr/local/quickpet_precise/iron &</action>
			</button>
			<button tooltip-text="install tor-browser 4.0.4">
		        <label>tor</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qtor"></input>
				<action>/usr/local/quickpet_precise/tor &</action>
			</button>
			<button tooltip-text="install qupzilla browser 1.8.6 (requires QT)">
		        <label>qupzilla</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qqupzilla"></input>
				<action>/usr/local/quickpet_precise/qupzilla &</action>
			</button>
			<button tooltip-text="install slimboat browser 1.1.54">
		        <label>slimboat</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qslimboat"></input>
				<action>/usr/local/quickpet_precise/slimboat &</action>
			</button>
			<button tooltip-text="secure, keyboard-centric browser">
		        <label>xombrero</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qxombrero"></input>
				<action>/usr/local/quickpet_precise/xombrero &</action>
			</button>
			<frame>
			<pixmap>
			<height>180</height>
			<width>180</width>
         <input file>/usr/share/icons/qpupster.png</input>
         </pixmap>
         </frame>
			</vbox>
			<vbox>
		     <button tooltip-text="install the latest java from the puppy forum">
		        <label>java</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qjava"></input>
				<action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=61287 &</action>
			</button>
			<button tooltip-text="flash installer">
		        <label>flash</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qflash"></input>
				<action>/usr/local/quickpet_precise/flash &</action>
			</button>
			<button tooltip-text="install skype 4.3.0.37">
		        <label>skype</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qskype"></input>
				<action>/usr/local/quickpet_precise/skype &</action>
			</button>
			<button tooltip-text="install pidgin 2.10.6 chat client">
		        <label>pidgin</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qpidgin"></input>
				<action>/usr/local/quickpet_precise/pidgin &</action>
			</button>
			<button tooltip-text="install xchat irc client">
		        <label>xchat</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qXchat"></input>
				<action>/usr/local/quickpet_precise/xchat &</action>
			</button>
			<button tooltip-text="install instantbird 1.3 chat client">
		        <label>instantbird</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qinstantbird"></input>
				<action>/usr/local/quickpet_precise/instantbird &</action>
			</button>
			<button tooltip-text="download google-earth 7.sfs">
		        <label>googleearth</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qgoogle_earth"></input>
				<action>/usr/local/quickpet_precise/googleearth &</action>
			</button>
			<button tooltip-text="install dropbox">
		        <label>dropbox</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qdropbox"></input>
				<action>/usr/local/quickpet_precise/dropbox &</action>
			</button>
			<button tooltip-text="install tixati 1.99 torrent client">
		        <label>tixati</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qtixati"></input>
				<action>/usr/local/quickpet_precise/tixati &</action>
			</button>
			<button tooltip-text="install qbittorrent (requires QT)">
		        <label>qbittorent</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qqbittorrent"></input>
				<action>/usr/local/quickpet_precise/qbittorrent &</action>
			</button>
			<button tooltip-text="P2P file sharing">
		        <label>amule</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qamule"></input>
				<action>/usr/local/quickpet_precise/amule &</action>
			</button>
			</vbox>
			<vbox>
		     <button tooltip-text="install deadbeef 0.6.2 audio player">
		        <label>deadbeef</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qdeadbeef"></input>
				<action>/usr/local/quickpet_precise/deadbeef &</action>
			</button>
			<button tooltip-text="install goggles music manager 12.6">
		        <label>gogglesmm</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qgogglesmm"></input>
				<action>/usr/local/quickpet_precise/gogglesmm &</action>
			</button>
			<button tooltip-text="install foobnix 2.6 audio player">
		        <label>foobnix</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qfoobnix"></input>
				<action>/usr/local/quickpet_precise/foobnix &</action>
			</button>
			<button tooltip-text="audacious 3.2.4 audio player">
		        <label>audacious</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qaudacious"></input>
				<action>/usr/local/quickpet_precise/audacious &</action>
			</button>
			<button tooltip-text="install gmusicbrowser 1.1.9  (requires the DEVX from the useful pets tab)">
		        <label>gmusicbrowser</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qgmusic"></input>
				<action>/usr/local/quickpet_precise/gmusic &</action>
			</button>
			<button tooltip-text="install guayadeque 0.3.5 audio player">
		        <label>guayadeque</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qguayadeque"></input>
				<action>/usr/local/quickpet_precise/guayadeque &</action>
			</button>
			<button tooltip-text="upload and manage upto 20,000 tracks to the cloud">
		        <label>google music manager</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qgooglemusic"></input>
				<action>/usr/local/quickpet_precise/googlemusic &</action>
			</button>
			<button tooltip-text="install qmmp 0.6.3 audio player (requires QT)">
		        <label>qmmp</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qqmmp"></input>
				<action>/usr/local/quickpet_precise/qmmp &</action>
			</button>
			<button tooltip-text="search and download from grooveshark
requires QT from the useful pets tab">
		        <label>grooveoff</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qgrooveoff"></input>
				<action>/usr/local/quickpet_precise/grooveoff &</action>
			</button>
			<button tooltip-text="dj mixing software. (requires qt from the useful pets tab)">
		        <label>mixxx 1.11.0</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qmixxx"></input>
				<action>/usr/local/quickpet_precise/mixxx &</action>
			</button>
			<button tooltip-text="instal Linux multi media studio 0.4.10 (requires qt from the useful pets tab)">
		        <label>LMMS</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qlmms"></input>
				<action>/usr/local/quickpet_precise/lmms &</action>
			</button>
			<button tooltip-text="install simplegtkradio1.8">
		        <label>simple gtk radio</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qradiotray"></input>
				<action>/usr/local/quickpet_precise/radio &</action>
			</button>
			</vbox>
			<vbox>
			<button tooltip-text="install vlc 2.0.5 two flower media player (requires QT)">
		        <label>vlc</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qvlc"></input>
				<action>/usr/local/quickpet_precise/vlc &</action>
			</button>
			<button tooltip-text="install smplayer 0.8.3 & smtube youtube viewer (requires QT)">
		        <label>smplayer</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qsmplayer"></input>
				<action>/usr/local/quickpet_precise/smplayer &</action>
			</button>
			<button tooltip-text="install QMPlay2 video player (requires QT)">
		        <label>QMPlay2</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qqmplay"></input>
				<action>/usr/local/quickpet_precise/qmplay &</action>
			</button>
			<button tooltip-text="install openshot 1.4.3 video editor">
		        <label>openshot</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qopenshot"></input>
				<action>/usr/local/quickpet_precise/openshot &</action>
			</button>
			<button tooltip-text="install avidemux 2.6.4 video editor">
		        <label>avidemux</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qavidemux"></input>
				<action>/usr/local/quickpet_precise/avidemux &</action>
			</button>
			<button tooltip-text="install xbmc 12.2 frodo media centre">
		        <label>xbmc</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qxbmc"></input>
				<action>/usr/local/quickpet_precise/xbmc &</action>
			</button>
			<button tooltip-text="install xvidcap 1.1.7 screencast software">
		        <label>xvidcap</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qxvidcap"></input>
				<action>/usr/local/quickpet_precise/xvidcap &</action>
			</button>
			<button tooltip-text="watch and download youtube without a browser">
		        <label>gtk-youtube-viewer</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qgtkyoutube"></input>
				<action>/usr/local/quickpet_precise/gtkyoutube &</action>
			</button>
			<button tooltip-text="setup & record from webcam">
		        <label>guvcview</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qguvcview"></input>
				<action>/usr/local/quickpet_precise/guvcview &</action>
			</button>
			</vbox>
			<vbox>
		     <button tooltip-text="install gimp 2.8.2">
		        <label>gimp</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qgimp"></input>
				<action>/usr/local/quickpet_precise/gimp &</action>
			</button>
			<button tooltip-text="install mypaint 1.0.0 from the puppy forum">
		        <label>mypaint</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qmypaint"></input>
				<action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=82727 &</action>
			</button>
			<button tooltip-text="install pinta 1.4">
		        <label>pinta</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qpinta"></input>
				<action>/usr/local/quickpet_precise/pinta &</action>
			</button>
			<button tooltip-text="install xnviewMP 0.51, and dependencies">
		        <label>xnviewMP</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qxnview"></input>
				<action>/usr/local/quickpet_precise/xnview &</action>
			</button>
			<button tooltip-text="install blender 2.62 .sfs">
		        <label>blender</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qblender"></input>
				<action>/usr/local/quickpet_precise/blender &</action>
			</button>
			<button tooltip-text="qosmic flame fractal generator  (requires QT)">
		        <label>qosmic</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qqosmicicon"></input>
				<action>/usr/local/quickpet_precise/qosmic &</action>
			</button>
			<button tooltip-text="flame fractal generator (requires JAVA)">
		        <label>jwildfire</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qjwildfire"></input>
				<action>/usr/local/quickpet_precise/jwildfire &</action>
			</button>
			<button tooltip-text="install librecad cad software (requires QT)">
		        <label>librecad</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qlibrecad"></input>
				<action>/usr/local/quickpet_precise/librecad &</action>
			</button>
			<button tooltip-text="install inkscape (full version)">
		        <label>inkscape</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qinkscape"></input>
				<action>/usr/local/quickpet_precise/inkscape &</action>
			</button>
			<button tooltip-text="screen shot and annotation tool (requires QT)">
		        <label>hotshots</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qhotshots"></input>
				<action>/usr/local/quickpet_precise/hotshots &</action>
			</button>
			<frame>
			<pixmap>
			<height>100</height>
			<width>100</width>
         <input file>/usr/share/icons/qpuppylogo48.png</input>
         </pixmap>
         </frame>
			</vbox>
			<vbox>
			<button tooltip-text="version1.12.1 excellent & challenging turn based battles">
		        <label>battle for wesnoth</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qwesnoth"></input>
				<action>/usr/local/quickpet_precise/wesnoth &</action>
			</button>
			<button tooltip-text="3D turnbased fighting with ragdoll physics">
		        <label>toribash</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qtorribash"></input>
				<action>/usr/local/quickpet_precise/toribash &</action>
			</button>
			<button tooltip-text="flight simulator">
		        <label>flightgear</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qflightgear"></input>
				<action>/usr/local/quickpet_precise/flightgear &</action>
			</button>
			<button tooltip-text="worms clone">
		        <label>warmux</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qwarmux"></input>
				<action>/usr/local/quickpet_precise/warmux &</action>
			</button>
			<button tooltip-text="retro side scolling blaster">
		        <label>hurrican</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qhurrican"></input>
				<action>/usr/local/quickpet_precise/hurrican &</action>
			</button>
         <button tooltip-text="mario-kart clone">
		        <label>supertuxkart portable</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qsupertuxkart"></input>
				<action>/usr/local/quickpet_precise/supertuxkart &</action>
			</button>
			<button tooltip-text="real time strategy">
		        <label>warzone2100 portable</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qwarzone"></input>
				<action>/usr/local/quickpet_precise/warzone2100 &</action>
			</button>
			<button tooltip-text="27 love2d games">
		        <label>love2d lua games compilation</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qlove"></input>
				<action>/usr/local/quickpet_precise/love &</action>
			</button>
			<button tooltip-text="incredibly hard reaction game">
		        <label>open hexagon</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qopenhexagon"></input>
				<action>/usr/local/quickpet_precise/openhexagon &</action>
			</button>
			<button tooltip-text="not all work on precise">
		        <label>portable linux games website</label>
		        <action>defaultbrowser http://www.portablelinuxgames.org/ &</action>
			</button>
			<button tooltip-text="install desura">
		        <label>desura</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qdesura"></input>
				<action>/usr/local/quickpet_precise/desura &</action>
			</button>
			<button tooltip-text="install steam  (experimental)">
		        <label>steam</label>
		        <height>32</height>
		        <width>32</width>
				<input file icon="qsteam"></input>
				<action>/usr/local/quickpet_precise/steam &</action>
			</button>
       <text><label>some of these games are large and they download to /root/</label></text>
       <text><label>please make sure you have 500mb space in your savefile</label></text>
       <text><label>the sfs games will give you an option to move them to /mnt/home</label></text>
       <text><label>to cancel a download close the terminal window, and delete the fragment in /root/</label></text>
			</vbox>
			<vbox>
			<button tooltip-text="install openoffice 4">
		        <label>openoffice</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qopenoffice"></input>
				<action>/usr/local/quickpet_precise/openoffice &</action>
			</button>
			<button tooltip-text="install libreoffice 4.3">
		        <label>libreoffice</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qlibreoffice"></input>
				<action>/usr/local/quickpet_precise/libreoffice &</action>
			</button>
			<button tooltip-text="install kingsoft office">
		        <label>kingsoft office</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qkingsoft"></input>
				<action>/usr/local/quickpet_precise/kingsoft &</action>
				</button>
			<button tooltip-text="install thunderbird email">
		        <label>thunderbird</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qthunderbird"></input>
				<action>/usr/local/quickpet_precise/thunderbird &</action>
				</button>
			<button tooltip-text="install teamviewer9.sfs">
		        <label>teamviewer</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qteamviewer"></input>
				<action>/usr/local/quickpet_precise/teamviewer &</action>
			</button>
			<frame>
			<pixmap>
			<height>60</height>
			<width>60</width>
         <input file>/usr/share/icons/qwary.png</input>
         </pixmap>
         </frame>
         <button tooltip-text="install stellarium 0.11 (requires QT)">
		        <label>stellarium</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qstellarium"></input>
				<action>/usr/local/quickpet_precise/stellarium &</action>
			</button>
			<button tooltip-text="conky system monitor">
		        <label>conky</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qconky"></input>
				<action>/usr/local/quickpet_precise/conky &</action>
			</button>
			<button tooltip-text="install bleachbit system cleaner (requires the devx)">
		        <label>bleachbit</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qbleachbit"></input>
				<action>/usr/local/quickpet_precise/bleachbit &</action>
			</button>
         <button tooltip-text="install the latest wine from the puppy forum">
		        <label>wine</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qwine"></input>
				<action>defaultbrowser http://murga-linux.com/puppy/viewtopic.php?t=88711 &</action>
			</button>
			<button tooltip-text="install the latest virtualbox from the puppy forum">
		        <label>virtualbox</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qvirtualbox"></input>
				<action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=481055#481055 &</action>
			</button>
			<button tooltip-text="install the latest vmware player from the puppy forum">
		        <label>vmware</label>
		        <height>48</height>
		        <width>48</width>
				<input file icon="qvmware"></input>
				<action>/usr/local/quickpet_precise/vmware &</action>
			</button>
	       </vbox>
			<vbox>
		     <button tooltip-text="auto-mount drives at boot">
		        <label>startmount</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=50845 &</action>
			</button>
			<button tooltip-text="backup your savefile in realtime">
		        <label>pupsave hotbackup</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=49999 &</action>
			</button>
			<button tooltip-text="radkys pupmates... various system tools">
		        <label>radkys pupmates</label>
		        <action>defaultbrowser http://www.smokey01.com/radky/PupMates.html &</action>
			</button>
			<button tooltip-text="turn your firewall on/off with task bar icon">
		        <label>firewall state</label>
				<action>/usr/local/quickpet_precise/firewall &</action>
			</button>
			<button tooltip-text="extra right click options such as make pet, make sfs, make archive, etc">
		        <label>right click options</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=67013 &</action>
			</button>
			<button tooltip-text="battery low alarm">
		        <label>xbatalarm</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=85475 &</action>
			</button>
			<button tooltip-text="easily configure your firewall">
		        <label>firewall genie</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=59616&sid=ce9751a5e910885337fb13e7fa3825f4 &</action>
			</button>
			<button tooltip-text="cpu temperature monitor">
		        <label>tempicontray</label>
		       <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=74702 &</action>
			</button>
			<button tooltip-text="install openbox window manager and extras, from the puppy forum">
		        <label>openbox wm</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=82800 &</action>
			</button>
			<button tooltip-text="turn the screen saver on or off, good when watching films">
		        <label>no blankscreen</label>
		        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=45825 &</action>
			</button>
			<button tooltip-text="duplicate file finder">
		        <label>dupfinder</label>
		        <action>defaultbrowser http://murga-linux.com/puppy/viewtopic.php?t=68286 &</action>
			</button>
			<button tooltip-text="not all work on precise">
		        <label>portable linux apps website</label>
		        <action>defaultbrowser http://portablelinuxapps.org/ &</action>
			</button>
			<frame>
			<pixmap>
			<height>50</height>
			<width>50</width>
         <input file>/usr/share/icons/qpupold.png</input>
         </pixmap>
         </frame>
         <button tooltip-text="qt package, needed for smplayer, qupzilla etc">
		        <label>qt</label>
		        <height>32</height>
		        <width>32</width>
		        <input file icon="qqt"></input>
		        <action>/usr/local/quickpet_precise/qt &</action>
			</button>
			<button tooltip-text="install devx developer package (contains gcc compiler)">
		        <label>devx</label>
		        <height>32</height>
		        <width>32</width>
		        <input file icon="qsfs"></input>
		        <action>sfsget &</action>
			</button>
			<button tooltip-text="install kernel sources ">
		        <label>kernel src</label>
		        <height>32</height>
		        <width>32</width>
		        <input file icon="qkernel"></input>
		        <action>sfsget &</action>
			</button>
         </vbox>
			<vbox>
       <text><label>please check your graphics card on the appropriate website</label></text>
       <text><label>to see which drivers are suitable for you</label></text>
         <button>
		        <label>amd website</label>
		        <input file icon="qati"></input>
				<action>defaultbrowser http://support.amd.com/us/gpudownload/Pages/index.aspx &</action>
			</button>
			<button>
		        <label>nvidia website</label>
		        <input file icon="qnvidia-settings"></input>
				<action>defaultbrowser http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk &</action>
			</button>
			<text><label>PRECISE 5.6 KERNEL-3.2.44</label></text>
		     <button tooltip-text="install the nvidia 319.17 video driver">
		        <label>nvidia 319.17 k-3.2.44</label>
		        <input file icon="qnvidia-settings"></input>
				<action>/usr/local/quickpet_precise/nvidia56 &</action>
			</button>
			<button tooltip-text="install the ati amd_fglrx-13.4 video driver">
		        <label>ati amd_fglrx-13.4 modern k-3.2.44</label>
		        <input file icon="qati"></input>
				<action>/usr/local/quickpet_precise/ati56 &</action>
			</button>
			<button tooltip-text="install the ati amd_fglrx-13.1 legacy video driver">
		        <label>ati amd_fglrx-13.1 legacy k-3.2.44</label>
		        <input file icon="qati"></input>
				<action>/usr/local/quickpet_precise/atilegacy56 &</action>
			</button>
			<text><label>PRECISE 5.5, 5.4, 5.3 KERNEL-3.2.29</label></text>
		     <button tooltip-text="install the nvidia 310.44 video driver">
		        <label>nvidia 310.44 k-3.2.29</label>
				<input file icon="qnvidia-settings"></input>
				<action>/usr/local/quickpet_precise/nvidia &</action>
			</button>
			<button tooltip-text="install the ati amd_fglrx-12.8 video driver">
		        <label>ati amd_fglrx-12.8 modern k-3.2.29</label>
				<input file icon="qati"></input>
				<action>/usr/local/quickpet_precise/ati &</action>
			</button>
			<button tooltip-text="install the ati amd_fglrx-12.6 legacy video driver">
		        <label>ati amd_fglrx-12.6 legacy k-3.2.29</label>
				<input file icon="qati"></input>
				<action>/usr/local/quickpet_precise/atilegacy &</action>
			</button>
			<text><label>PRECISE 5.7 KERNEL-3.9.11</label></text>
			<button tooltip-text="install the nvidia 319.178 video driver">
		        <label>nvidia 319.178 k-3.9.11</label>
				<input file icon="qnvidia-settings"></input>
				<action>/usr/local/quickpet_precise/nvidia57 &</action>
			</button>
			<button tooltip-text="install the ati amd_fglrx-13.4 video driver">
		        <label>ati amd_fglrx-13.4 k-3.9.11</label>
				<input file icon="qati"></input>
				<action>/usr/local/quickpet_precise/ati57 &</action>
			</button>
			<text><label>UPUP PRECISE VARIOUS KERNELS</label></text>
			<button>
		        <label>pemasus repo</label>
		        <input file icon="qupup"></input>
				<action>defaultbrowser http://smokey01.com/pemasu/pet_packages-upup/ &</action>
			</button>
			</vbox>
		</notebook>
		<hbox>
			<button cancel></button>
			</hbox>
	</vbox>
</window>'
GUI="
<window>
 <vbox>
  <menubar>
   ...
  </menubar>
 </vbox>
 <action signal=\"hide\">exit:Exit</action>
</window>"
export MAIN_DIALOG

case $1 in
	-d | --dump) echo "$MAIN_DIALOG" ;;
	*) $GTKDIALOG --program=MAIN_DIALOG ;;
esac
