Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv26192
Modified Files:
menu.py
Log Message:
MENU_CALL_ITEM_ACTION also checks the item itself
Index: menu.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/menu.py,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** menu.py 3 Jan 2004 17:43:14 -0000 1.75
--- menu.py 4 Jan 2004 13:06:02 -0000 1.76
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.76 2004/01/04 13:06:02 dischi
+ # MENU_CALL_ITEM_ACTION also checks the item itself
+ #
# Revision 1.75 2004/01/03 17:43:14 dischi
# OVERLAY_DIR is always used
***************
*** 586,589 ****
--- 589,597 ----
_debug_('calling action %s', event.arg)
+ for a in menu.selected.actions():
+ if not isinstance(a, MenuItem) and len(a) > 2 and a[2] == event.arg:
+ a[0](arg=None, menuw=self)
+ return
+
plugins = plugin.get('item') + plugin.get('item_%s' % menu.selected.type)
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog