Update of /cvsroot/freevo/freevo/src/image
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2094
Modified Files:
viewer.py
Log Message:
update selected item in the menu when showing an image
Index: viewer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/viewer.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** viewer.py 7 May 2004 17:46:53 -0000 1.45
--- viewer.py 9 May 2004 10:00:37 -0000 1.46
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.46 2004/05/09 10:00:37 dischi
+ # update selected item in the menu when showing an image
+ #
# Revision 1.45 2004/05/07 17:46:53 dischi
# Make it possible to choose the image viewer blend effect
***************
*** 260,263 ****
--- 263,275 ----
self.last_image = (item, (image, x, y, scale, bbx, bby, bbw, bbh,
self.rotation))
+
+
+ # XXX Hack to move the selected item to the current showing image
+ # XXX TODO: find a way to add it to directory.py or playlist.py
+ if item.parent and hasattr(item.parent, 'menu') and \
+ item in item.parent.menu.choices:
+ item.parent.menu.selected = item
+ item.menuw.force_page_rebuild = True
+
return None
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog