Author: duncan
Date: Fri Oct 6 20:36:17 2006
New Revision: 8330
Modified:
branches/rel-1-5/freevo/src/event.py
branches/rel-1-5/freevo/src/menu.py
Log:
Added other goto menu events
Modified: branches/rel-1-5/freevo/src/event.py
==============================================================================
--- branches/rel-1-5/freevo/src/event.py (original)
+++ branches/rel-1-5/freevo/src/event.py Fri Oct 6 20:36:17 2006
@@ -8,23 +8,6 @@
# Todo:
#
# -----------------------------------------------------------------------
-# $Log$
-# Revision 1.48 2004/07/21 11:32:31 dischi
-# fix dvd events for language settings
-#
-# Revision 1.47 2004/07/10 12:33:36 dischi
-# header cleanup
-#
-# Revision 1.46 2004/06/28 15:55:10 dischi
-# angle switching
-#
-# Revision 1.45 2004/06/17 23:16:05 rshortt
-# Add events for RECORD_START/STOP. (forgot to check in this file earlier).
-#
-# Revision 1.44 2004/05/12 18:56:36 dischi
-# add keys to move inside a zoom image in image viewer
-#
-# -----------------------------------------------------------------------
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
@@ -134,9 +117,12 @@
MENU_REBUILD = Event('MENU_REBUILD')
MENU_GOTO_MAINMENU = Event('MENU_GOTO_MAINMENU')
+MENU_GOTO_TV = Event('MENU_GOTO_TV')
+MENU_GOTO_TVGUIDE = Event('MENU_GOTO_TVGUIDE')
MENU_GOTO_VIDEOS = Event('MENU_GOTO_VIDEOS')
MENU_GOTO_MUSIC = Event('MENU_GOTO_MUSIC')
MENU_GOTO_IMAGES = Event('MENU_GOTO_IMAGES')
+MENU_GOTO_RADIO = Event('MENU_GOTO_RADIO')
MENU_BACK_ONE_MENU = Event('MENU_BACK_ONE_MENU')
MENU_SELECT = Event('MENU_SELECT')
Modified: branches/rel-1-5/freevo/src/menu.py
==============================================================================
--- branches/rel-1-5/freevo/src/menu.py (original)
+++ branches/rel-1-5/freevo/src/menu.py Fri Oct 6 20:36:17 2006
@@ -8,17 +8,6 @@
# Todo:
#
# -----------------------------------------------------------------------
-# $Log$
-# Revision 1.95 2004/07/10 12:33:36 dischi
-# header cleanup
-#
-# Revision 1.94 2004/06/02 21:38:02 dischi
-# fix crash
-#
-# Revision 1.93 2004/05/09 09:58:43 dischi
-# make it possible to force a page rebuild
-#
-# -----------------------------------------------------------------------
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
@@ -252,9 +241,12 @@
Go to a main menu item
media = 'audio' or 'video' or 'image'
used for events:
- MENU_GOTO_AUDIOMENU
+ MENU_GOTO_TVMENU
+ MENU_GOTO_TVGUIDEMENU
MENU_GOTO_VIDEOMENU
+ MENU_GOTO_AUDIOMENU
MENU_GOTO_IMAGEMENU
+ MENU_GOTO_RADIOMENU
"""
#1:goto main menu.
#2:loop through main menu items.
@@ -402,6 +394,14 @@
self.goto_main_menu()
return
+ if event == MENU_GOTO_TV:
+ self.goto_media_menu("tv")
+ return
+
+ if event == MENU_GOTO_TVGUIDE:
+ self.goto_media_menu("tv")
+ return
+
if event == MENU_GOTO_VIDEOS:
self.goto_media_menu("video")
return
@@ -414,6 +414,10 @@
self.goto_media_menu("image")
return
+ if event == MENU_GOTO_RADIO:
+ self.goto_media_menu("radio")
+ return
+
if event == MENU_BACK_ONE_MENU:
self.back_one_menu()
return
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog