Author: duncan
Date: Tue Aug 28 14:02:37 2007
New Revision: 9847
Log:
[ 1777187 ] 'Full description' for VideoItems
Improved patch from Tanja Kotthaus applied
Modified:
branches/rel-1/freevo/src/video/videoitem.py
Modified: branches/rel-1/freevo/src/video/videoitem.py
==============================================================================
--- branches/rel-1/freevo/src/video/videoitem.py (original)
+++ branches/rel-1/freevo/src/video/videoitem.py Tue Aug 28 14:02:37 2007
@@ -337,17 +337,6 @@
return items
- def display_submenu(self, arg=None, menuw=None):
- """
- Open the submenu for this item
- """
- if not menuw:
- return
- # this tries to imitated freevo's internal way of creating submenus
- menuw.make_submenu(_('Video Menu'), self.actions(), self)
- menuw.show()
-
-
def show_details(self, arg=None, menuw=None):
"""
Show more details
@@ -788,11 +777,12 @@
elif event == 'MENU_SUBMENU':
if hasattr(self.menuw.menustack[-1],'is_submenu'):
# the last menu has been a submenu, we just have to show it
- self.menuw.show()
rc.set_context(self.menuw.get_event_context())
+ self.menuw.show()
else:
# we have to create the submenu
- self.movie.display_submenu(menuw=self.menuw)
+ self.menuw.eventhandler('MENU_SUBMENU')
+ self.menuw.show()
return True
elif event == 'MENU_UP':
# scroll the description up
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog