Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28772

Modified Files:
        command.py 
Log Message:
make things a little more xml like

Index: command.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/command.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** command.py  14 Feb 2004 19:47:27 -0000      1.8
--- command.py  15 Feb 2004 03:09:28 -0000      1.9
***************
*** 15,18 ****
--- 15,21 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2004/02/15 03:09:28  mikeruelle
+ # make things a little more xml like
+ #
  # Revision 1.8  2004/02/14 19:47:27  mikeruelle
  # set the skin type
***************
*** 214,219 ****
      def __init__(self, command=None, directory=None):
          Item.__init__(self, skin_type='commands')
!       self.stoposd = 0
!       self.use_wm  = None
        self.spawnwm = config.COMMAND_SPAWN_WM
        self.killwm  = config.COMMAND_KILL_WM
--- 217,223 ----
      def __init__(self, command=None, directory=None):
          Item.__init__(self, skin_type='commands')
!       self.display_type = 'commands'
!       self.stoposd = False
!       self.use_wm  = False
        self.spawnwm = config.COMMAND_SPAWN_WM
        self.killwm  = config.COMMAND_KILL_WM
***************
*** 276,286 ****
      item.cmd     = fxd.childcontent(node, 'cmd')
      item.image   = util.getimage(item.cmd)
!     item.stoposd = fxd.childcontent(node, 'stoposd')
!     item.use_wm  = fxd.childcontent(node, 'spawnwm')
!     try:
!         if fxd.childcontent(node, 'stdout'):
!             item.stdout = int(fxd.childcontent(node, 'stdout'))
!     except Exception, e:
!         print e
      
      # parse <info> tag
--- 280,289 ----
      item.cmd     = fxd.childcontent(node, 'cmd')
      item.image   = util.getimage(item.cmd)
!     if fxd.get_children(node, 'stoposd'):
!         item.stoposd = True
!     if fxd.get_children(node, 'spawnwm'):
!         item.use_wm  = True
!     if fxd.get_children(node, 'nostdout'):
!         item.stdout =  False
      
      # parse <info> tag
***************
*** 388,394 ****
        <command title="Mozilla">
          <cmd>/usr/local/bin/mozilla</cmd>
!         <stoposd>1</stoposd> <!-- stop osd before starting -->
!         <spawnwm>1</spawnwm> <!-- start windowmanager -->
!         <stdout>0</stdout>   <!-- do not show stdout on exit -->
          <info>
            <description>Unleash mozilla on the www</description>
--- 391,397 ----
        <command title="Mozilla">
          <cmd>/usr/local/bin/mozilla</cmd>
!         <stoposd />  <!-- stop osd before starting -->
!         <spawnwm />  <!-- start windowmanager -->
!         <nostdout /> <!-- do not show stdout on exit -->
          <info>
            <description>Unleash mozilla on the www</description>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to