Magellan Linux

Diff of /alx-src/branches/alxconf-060/plugins/terminal/plugin.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3502 by niro, Fri Aug 26 11:51:09 2011 UTC revision 3503 by niro, Thu Apr 19 12:17:20 2012 UTC
# Line 7  PLUGIN_MENUITEM_PARAM="" Line 7  PLUGIN_MENUITEM_PARAM=""
7  PLUGIN_MENUITEM_WORKDIR=""  PLUGIN_MENUITEM_WORKDIR=""
8  PLUGIN_MENUITEM_ICON=""  PLUGIN_MENUITEM_ICON=""
9    
10    PLUGIN_AUTOSTART=0
11    
12  install_plugin()  install_plugin()
13  {  {
14   if [[ -z $(magequery -n rxvt) ]]   if [[ -z $(magequery -n rxvt) ]]
# Line 32  create_menuitem() Line 34  create_menuitem()
34   echo "PLUGIN_MENUITEM_ICON=\"${PLUGIN_MENUITEM_ICON}\""   echo "PLUGIN_MENUITEM_ICON=\"${PLUGIN_MENUITEM_ICON}\""
35  }  }
36    
37    autostart_plugin()
38    {
39     echo "PLUGIN_AUTOSTART=\"${PLUGIN_AUTOSTART}\""
40    }
41    
42  uninstall_plugin()  uninstall_plugin()
43  {  {
44   # keep rxvt   # keep rxvt
# Line 43  case $1 in Line 50  case $1 in
50   setup) setup_plugin ;;   setup) setup_plugin ;;
51   menuitem) create_menuitem ;;   menuitem) create_menuitem ;;
52   uninstall) uninstall_plugin ;;   uninstall) uninstall_plugin ;;
53     autostart) autostart_plugin ;;
54   *) echo "PLUGIN '${PLUGIN_NAME}': unkown operation '$1'" ;;   *) echo "PLUGIN '${PLUGIN_NAME}': unkown operation '$1'" ;;
55  esac  esac

Legend:
Removed from v.3502  
changed lines
  Added in v.3503