Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv911
Modified Files:
videoitem.py
Log Message:
Implimenting the new PopupBox for the 'Scanning disc, be patient...' messages.
Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** videoitem.py 2 Mar 2003 14:58:23 -0000 1.17
--- videoitem.py 3 Mar 2003 00:36:53 -0000 1.18
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.18 2003/03/03 00:36:53 rshortt
+ # Implimenting the new PopupBox for the 'Scanning disc, be patient...' messages.
+ #
# Revision 1.17 2003/03/02 14:58:23 dischi
# Removed osd.clearscreen and if we have the NEW_SKIN deactivate
***************
*** 91,94 ****
--- 94,98 ----
+ from gui.PopupBox import PopupBox
from item import Item
import configure
***************
*** 338,341 ****
--- 342,347 ----
Generate special menu for DVD/VCD/SVCD content
"""
+ pop = None
+
if not self.num_titles:
# Use the uid to make a user-unique filename
***************
*** 347,350 ****
--- 353,362 ----
icon='skins/icons/misc/cdrom_mount.png')
osd.update()
+ else:
+ pop = PopupBox('Scanning disc, be patient...',
+ icon='skins/icons/misc/cdrom_mount.png')
+ menuw.add_child(pop)
+ pop.osd.focused_app = pop
+ pop.show()
***************
*** 408,411 ****
--- 420,426 ----
self.num_titles = 100 # XXX Kludge
+ if pop and config.NEW_SKIN:
+ pop.destroy()
+
#
# Done scanning the disc, set up the menu.
***************
*** 443,446 ****
--- 458,468 ----
icon='skins/icons/misc/cdrom_mount.png')
osd.update()
+ else:
+ pop = PopupBox('Scanning disc, be patient...',
+ icon='skins/icons/misc/cdrom_mount.png')
+ menuw.add_child(pop)
+ pop.osd.focused_app = pop
+ pop.show()
+
***************
*** 473,476 ****
--- 495,502 ----
for line in open('/tmp/mplayer_dvd_%s.log' % uid).readlines():
p.parse(line)
+
+ if config.NEW_SKIN:
+ pop.destroy()
+
configure.main_menu(self, menuw)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog