#!/bin/bash
#02.02.11 i18n rodin.s
export TEXTDOMAIN=puppy
##---taskbar config for jwmConfigMgr--->>

##-------variables------->>
. /tmp/JWMCONFIGVARS

##----------gui---------->>
export TASKBAR_CFG="
<window title=\"$(gettext 'JWM Configuration Manager')\" icon-name=\"gtk-preferences\">
<vbox>
 <frame $(gettext 'Tray Configuration Options')>
  <hbox>
    <text><label>$(gettext 'Virtual Desktops')</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/desktop.svg</input>
     <height>24</height>
     <action>$SCRIPT_DIR/virtualDeskwrapper &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>$(gettext 'Tray Autohide Option')</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/desktop.svg</input>
     <height>24</height>
     <action>$SCRIPT_DIR/taskbarConfig &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>$(gettext 'Tray Height Option')</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/desktop.svg</input>
     <height>24</height>
     <action>$SCRIPT_DIR/taskbarHeight &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>$(gettext 'Tray Placement Option')</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/desktop.svg</input>
     <height>24</height>
     <action>$SCRIPT_DIR/taskbarPlace &</action>
    </button>
  </hbox>
  <hbox>
    <text><label>$(gettext 'Program Insertion into Tray')</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/desktop.svg</input>
     <height>24</height>
     <action>$SCRIPT_DIR/trayInsert &</action>
    </button>
  </hbox>
    <hbox>
    <text><label>$(gettext 'Iconify or Verbose in Pager')</label></text>
    <button>
     <input file>$MINI_ICONS_DIR/desktop.svg</input>
     <height>24</height>
     <action>$SCRIPT_DIR/taskbariconify &</action>
    </button>
  </hbox>
 </frame>
 <frame $(gettext 'Important')>
  <hbox>
    <pixmap><input file>$MINI_ICONS_DIR/info.svg</input><height>24</height></pixmap>
    <text><label>$(gettext 'JWM must be restarted for changes to take effect')</label></text>
  </hbox>
 </frame>
 <hbox>
   <button ok><action type=\"exit\">OK</action></button>
 </hbox>
</vbox>
</window>
"

##---------run------------>>
gtkdialog3 --program TASKBAR_CFG


##------cleanup----------->>
unset TASKBAR_CFG	
clear	




