Author: dmeyer
Date: Sat Jan 20 20:29:48 2007
New Revision: 9026

Modified:
   trunk/ui/src/plugins/idlebar/__init__.py

Log:
adjust to new application code

Modified: trunk/ui/src/plugins/idlebar/__init__.py
==============================================================================
--- trunk/ui/src/plugins/idlebar/__init__.py    (original)
+++ trunk/ui/src/plugins/idlebar/__init__.py    Sat Jan 20 20:29:48 2007
@@ -69,7 +69,7 @@
         plugin.register(self, 'idlebar')
 
         # register for signals
-        application.signals['application change'].connect(self.app_change)
+        application.signals['changed'].connect(self._app_change)
 
         self.plugins        = None
         self.visible        = False
@@ -185,11 +185,10 @@
             self.background.hide()
 
 
-    def app_change(self, app, fullscreen, fade):
-        """
-        React on toggle fullscreen, hide or show the bar, but not update
-        the screen itself, this is done by the app later.
-        """
+    def _app_change(self, app):
+        fullscreen = app.has_capability(application.CAPABILITY_FULLSCREEN)
+        fade = True
+        
         # get gui informations
         w = gui.display.width
         h = config.GUI_OVERSCAN_Y + 60

-------------------------------------------------------------------------
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

Reply via email to