[pitivi: 8/16] Move the initialization of 'timestarted' in Actioner.__init__()



commit 69895816086e3a9c0e5221d1a209051719f9a26a
Author: Alex BÄ?luÈ? <alexandru balut gmail com>
Date:   Tue May 24 17:50:24 2011 +0200

    Move the initialization of 'timestarted' in Actioner.__init__()

 pitivi/actioner.py          |    1 +
 pitivi/ui/encodingdialog.py |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/actioner.py b/pitivi/actioner.py
index 0482654..ac821fd 100644
--- a/pitivi/actioner.py
+++ b/pitivi/actioner.py
@@ -57,6 +57,7 @@ class Actioner(Loggable, Signallable):
         self.acting = False
         self.action = None
         self.settings = project.getSettings()
+        self.timestarted = 0
 
     def _eosCb(self, unused_pipeline):
         self.debug("eos !")
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index f58783b..8f6fb28 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -128,7 +128,6 @@ class EncodingDialog(Renderer, Loggable):
         self.preferred_vencoder = self.settings.vencoder
         self.preferred_aencoder = self.settings.aencoder
 
-        self.timestarted = 0
         self._initializeComboboxModels()
         self._displaySettings()
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]