Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/record.py
diff options
context:
space:
mode:
authorerikb <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)
commit36e2f869442f7bbeb10fd1a8e20b45c5a7ef39b7 (patch)
treef75ada42e0f481f36ee47d67f4264ef6eb048fe8 /record.py
parentf99a108dea00e5b43b0822c55afd4836eda238ed (diff)
48 cleaned up
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/48@989 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'record.py')
-rwxr-xr-xrecord.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/record.py b/record.py
index 0095e46..2f7bb9a 100755
--- a/record.py
+++ b/record.py
@@ -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 )