[pitivi: 12/16] Fix the total amount of clips being imported when loading a project



commit ec60d28a4c2ae3297e5bda362f17325d437d7cf2
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun Dec 26 22:58:46 2010 -0500

    Fix the total amount of clips being imported when loading a project

 pitivi/formatters/etree.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/formatters/etree.py b/pitivi/formatters/etree.py
index eabc377..2926ab0 100644
--- a/pitivi/formatters/etree.py
+++ b/pitivi/formatters/etree.py
@@ -708,6 +708,7 @@ class ElementTreeFormatter(Formatter):
             return
 
         uris = [source.uri for source in sources]
+        project.sources.nb_file_to_import = len(uris)
         discoverer = project.sources.discoverer
         discoverer.connect("discovery-done", self._discovererDiscoveryDoneCb,
                 project, sources, uris, closure)



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