[pitivi/ges: 242/287] Make the missing files dialog correctly add clips to the library



commit 4f87317aa5cf8024a21f3ed50ec6956f798729dc
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Thu Feb 2 14:06:23 2012 -0500

    Make the missing files dialog correctly add clips to the library

 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 905a16e..ef0c7a2 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -936,7 +936,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
             self.log("User chose a new URI for the missing file")
             new_uri = chooser.get_uri()
             if new_uri:
-                self.project.medialibrary.addUris([new_uri])
+                self.app.current.medialibrary.addUris([new_uri])
                 formatter.update_source_uri(tfs, new_uri)
                 self._missingUriOnLoading = True
         else:



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