diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-12-21 18:25:17 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-12-21 18:25:17 (GMT) |
commit | 36e2f869442f7bbeb10fd1a8e20b45c5a7ef39b7 (patch) | |
tree | f75ada42e0f481f36ee47d67f4264ef6eb048fe8 | |
parent | f99a108dea00e5b43b0822c55afd4836eda238ed (diff) |
48 cleaned up
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/48@989 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
-rwxr-xr-x | record.py | 20 | ||||
-rw-r--r-- | ui.py | 4 |
2 files changed, 0 insertions, 24 deletions
@@ -55,8 +55,6 @@ class Record(activity.Activity): #flags for controlling the writing to the datastore self.I_AM_CLOSING = False self.I_AM_SAVED = False - #self.JUST_LAUNCHED = True - #self.connect( "notify::active", self._activeCb ) self.props.enable_fullscreen_mode = False Instance(self) @@ -124,24 +122,7 @@ class Record(activity.Activity): self.destroy() - def _activeCb( self, widget, pspec ): - import time - print( '_activeCb', self.JUST_LAUNCHED, self.props.active, time.time() ) - - if (self.JUST_LAUNCHED): - self.JUST_LAUNCHED = False - return - - if (not self.props.active): - print('_activeCb:stopPipes') - self.stopPipes() - else: - print('_activeCb:restartPipes') - self.restartPipes() - - def stopPipes(self): - print("stopPipes") self.gplay.stop() self.ui.doMouseListener( False ) @@ -153,7 +134,6 @@ class Record(activity.Activity): def restartPipes(self): - print("restartPipes") self.ui.updateModeChange( ) self.ui.doMouseListener( True ) @@ -343,14 +343,10 @@ class UI: def finalSetUp( self ):
self.LAUNCHING = False
- print("finalSetUp 1 ", self.ACTIVE)
self.updateVideoComponents()
if (self.ACTIVE):
- print("active play!")
self.ca.glive.play()
- print("finalSetUp 2")
-
def setUpWindows( self ):
#image windows
|