# @package      hubzero-icewm
# @file         menu
# @author       Rick Kennell <kennell@purdue.edu>
# @author       Derrick Kearney <dsk@purdue.edu>
# @author       Nicholas J. Kisseberth <nkissebe@purdue.edu>
# @copyright    Copyright (c) 2006-2011 Purdue University. All rights reserved.
# @license      http://www.gnu.org/licenses/lgpl-3.0.html LGPLv3
#
# Copyright (c) 2006-2011 Purdue University
# All rights reserved.
#
# This file is part of: The HUBzero(R) Platform for Scientific Collaboration
#
# The HUBzero(R) Platform for Scientific Collaboration (HUBzero) is free
# software: you can redistribute it and/or modify it under the terms of
# the GNU Lesser General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# HUBzero is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# HUBzero is a registered trademark of Purdue University.
#

prog xterm xterm x-terminal-emulator -ls
prog "Import/export file" stock_export.png /usr/bin/filexfer
prog "chuse" cbon.gif /usr/bin/chuse
separator
prog gedit gedit-icon.png gedit
prog emacs emacs emacs
prog gvim vim gvim
separator
menu Help system-help.png {
   menu Rappture folder {
        prog Overview nopic /usr/bin/clientaction url http://rappture.org
        prog Documentation nopic /usr/bin/clientaction url http://rappture.org/wiki/Documentation
        prog "Course Material" nopic /usr/bin/clientaction url http://rappture.org/wiki/BootCamp2009
   }
   # prog "Tool Development Process" nopic /usr/bin/clientaction url https://hubzero.org/resources/tooldev
   prog "Tool Development Process" nopic /usr/bin/clientaction url https://nanohub.org/resources/3965
   prog "How to use WebDAV" nopic /usr/bin/clientaction url https://hubzero.org/kb/tips/webdav
separator
   prog "Copy Rappture Examples" stock_copy.png wish /apps/rappture/current/bin/copy_rappture_examples
}
separator

#separator
#menuprog "Gnome" folder icewm-menu-gnome2 --list /usr/share/gnome/vfolders
#menuprog KDE folder icewm-menu-gnome2 --list /usr/share/applnk
menu "WWW Browsers" internet-web-browser.png {
    # prog dillo dillo dillo
    prog kazehakase kazehakase kazehakase
}
menu Editors text-editor.png {
    prog emacs emacs emacs
    prog gedit gedit-icon.png gedit
    prog gvim vim gvim
    prog nano nano xterm -e nano
    prog NEdit nedit nedit
}
menu "Development Tools" wrench.png {
    prog ddd ddd ddd
    prog gdb gdb xterm -e gdb
    prog kcachegrind kcachegrind kcachegrind
    # prog perlconsole perlconsole xterm -e perlconsole
    prog python python xterm -T python -e "/bin/bash -l -c python"
    prog qtoctave qtoctave qtoctave
    prog ruby ruby xterm -T irb -e "/bin/bash -l -c irb"
    prog tclsh tclsh xterm -T tclsh -e "/bin/bash -l -c /apps/rappture/current/bin/tclsh"
    prog tkdiff tkdiff tkdiff
    prog wish wish xterm -T wish -e "/bin/bash -l -c /apps/rappture/current/bin/wish"
}
menu "Multimedia & Graphics" applications-graphics.png {
    prog Gimp /usr/share/gimp/2.0/images/wilber-icon.png gimp
    prog ghostview ghostview gv
    prog inkscape inkscape inkscape
    prog mplayer mplayer gmplayer
    prog xpdf xpdf xpdf
}
menu "Math & Science" stock_insert-math-object.png {
    prog dx dx dx
    prog grace grace grace
    prog octave octave xterm -T octave -e "/bin/bash -l -c octave"
    prog scilab scilab scilab
}
menu Games folder {
    prog gnuchess gnuchess gnuchess
    prog nethack nethack nethack
}
menu Utilities utilities-desktop-extra.png {
    prog Calculator xcalc xcalc
    prog Clipboard xclip xclipboard
    prog "Font Selector" xfontsel xfontsel
    prog Clock xclock xclock
    prog htop htop xterm -e htop
    prog Magnify xmag xmag
    prog xkill bomb xkill
}

#separator
#menuprog "Gnome" folder icewm-menu-gnome2 --list /usr/share/gnome/vfolders
#menuprog KDE folder icewm-menu-gnome2 --list /usr/share/applnk
