Author: dmeyer
Date: Mon Jan 22 15:04:32 2007
New Revision: 9040

Modified:
   trunk/ui/src/application/base.py
   trunk/ui/src/application/handler.py

Log:
make show_app and hide_app internal

Modified: trunk/ui/src/application/base.py
==============================================================================
--- trunk/ui/src/application/base.py    (original)
+++ trunk/ui/src/application/base.py    Mon Jan 22 15:04:32 2007
@@ -101,7 +101,7 @@
         if status in (STATUS_STOPPED, STATUS_IDLE):
             self.free_resources()
         if status == STATUS_RUNNING and self._status == STATUS_IDLE:
-            handler.show_application(self)
+            handler._show_application(self)
             self._status = status
             self.signals['start'].emit()
         elif status == STATUS_IDLE:
@@ -114,7 +114,7 @@
     status = property(get_status, set_status, None, "application status")
 
 
-    def show_app(self):
+    def _show_app(self):
         """
         Show the application on the screen. This function should only be called
         from the application handler.
@@ -124,7 +124,7 @@
         self.engine.show()
 
 
-    def hide_app(self):
+    def _hide_app(self):
         """
         Hide the application. This function should only be called from
         the application handler.

Modified: trunk/ui/src/application/handler.py
==============================================================================
--- trunk/ui/src/application/handler.py (original)
+++ trunk/ui/src/application/handler.py Mon Jan 22 15:04:32 2007
@@ -104,9 +104,9 @@
 
         log.info('switch application from %s to %s' % (self.current, app))
         self.signals['changed'].emit(app)
-        app.show_app()
+        app._show_app()
         if self.current:
-            self.current.hide_app()
+            self.current._hide_app()
         self.current = app
 
 

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