Author: duncan
Date: Wed Feb 20 15:44:12 2008
New Revision: 10388

Log:
Added a check so that update is not called when the osd is not active
This should fix the update of daemon plug-ins being drawn during a screen saver


Modified:
   branches/rel-1/freevo/src/skins/main/default_areas.py

Modified: branches/rel-1/freevo/src/skins/main/default_areas.py
==============================================================================
--- branches/rel-1/freevo/src/skins/main/default_areas.py       (original)
+++ branches/rel-1/freevo/src/skins/main/default_areas.py       Wed Feb 20 
15:44:12 2008
@@ -1,6 +1,6 @@
 # -*- coding: iso-8859-1 -*-
 # -----------------------------------------------------------------------
-# default_areas.py - Some areas for the skin
+# Some areas for the skin
 # -----------------------------------------------------------------------
 # $Id$
 #
@@ -172,6 +172,9 @@
         """
         there is no content in this area
         """
+        if not osd.active:
+            return
+
         if self.plugins == None:
             self.plugins = plugin.get('daemon_draw')
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to