[pitivi] project: Remove fancy property



commit aa5143d05f5265acd9efd6a6a2d800e4c3e67f05
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Tue Apr 26 17:27:37 2016 +0200

    project: Remove fancy property
    
    It can be removed because it's set to True in a single place and there
    we also set the modification state to True. Nothing is lost.
    
    Differential Revision: https://phabricator.freedesktop.org/D966

 pitivi/project.py |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index b6ce6aa..626cc28 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -641,7 +641,7 @@ class Project(Loggable, GES.Project):
         self.timeline = None
         self.uri = uri
         self.loaded = False
-        self._at_least_one_asset_missing = False
+        self.at_least_one_asset_missing = False
         self.app = app
         self.loading_assets = []
         self.asset_loading_progress = 100
@@ -726,15 +726,6 @@ class Project(Loggable, GES.Project):
     # Our properties  #
     # --------------- #
 
-    @property
-    def at_least_one_asset_missing(self):
-        return self._at_least_one_asset_missing
-
-    @at_least_one_asset_missing.setter
-    def at_least_one_asset_missing(self, value):
-        self._at_least_one_asset_missing = value
-        self.setModificationState(True)
-
     # Project specific properties
     @property
     def name(self):


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