Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22125/src/gui
Modified Files:
theme.py
Log Message:
adjust to new event interface
Index: theme.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/theme.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** theme.py 25 Jun 2005 08:52:25 -0000 1.2
--- theme.py 16 Jul 2005 09:48:22 -0000 1.3
***************
*** 51,56 ****
import util
import plugin
! import eventhandler
! from event import Event, THEME_CHANGE
# gui imports
--- 51,55 ----
import util
import plugin
! from event import THEME_CHANGE
# gui imports
***************
*** 111,115 ****
current_theme = new
# notify other parts of Freevo about the theme change
! eventhandler.get_singleton().notify(Event(THEME_CHANGE))
# return new theme in case the new one was given to this
# function as string and the caller wants the object
--- 110,115 ----
current_theme = new
# notify other parts of Freevo about the theme change
! # FIXME: maybe this is a signal.
! THEME_CHANGE.post()
# return new theme in case the new one was given to this
# function as string and the caller wants the object
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog