Update of /cvsroot/freevo/freevo/src/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv2608

Modified Files:
        command.py 
Log Message:
use the given menuw and not a global one

Index: command.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/plugins/command.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** command.py  24 Nov 2003 17:12:03 -0000      1.1
--- command.py  29 Nov 2003 11:41:04 -0000      1.2
***************
*** 15,18 ****
--- 15,21 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2003/11/29 11:41:04  dischi
+ # use the given menuw and not a global one
+ #
  # Revision 1.1  2003/11/24 17:12:03  dischi
  # rename commands.py to command.py to avoid name problems with the global python 
commands.py
***************
*** 91,95 ****
  #get the sinfletons so we can add our menu and get skin info
  skin = skin.get_singleton()
- menuwidget = menu.get_singleton()
  
  
--- 94,97 ----
***************
*** 341,350 ****
          if (len(command_items) == 0):
              command_items += [menu.MenuItem(_('No Commands found'),
!                                             menuwidget.goto_prev_page, 0)]
          command_menu = menu.Menu(_('Commands'), command_items,
!                                  reload_func=menuwidget.goto_main_menu)
          rc.app(None)
!         menuwidget.pushmenu(command_menu)
!         menuwidget.refresh()
  
  # our plugin wrapper, just creates the main menu item and adds it.
--- 343,352 ----
          if (len(command_items) == 0):
              command_items += [menu.MenuItem(_('No Commands found'),
!                                             menuw.goto_prev_page, 0)]
          command_menu = menu.Menu(_('Commands'), command_items,
!                                  reload_func=menuw.goto_main_menu)
          rc.app(None)
!         menuw.pushmenu(command_menu)
!         menuw.refresh()
  
  # our plugin wrapper, just creates the main menu item and adds it.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to