[pitivi/ges: 207/287] undo: call get_uri on GstDiscovererInfo to get the uri



commit 08310ef332be59034703c0d16714ff65998247ac
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Thu Jan 12 11:43:50 2012 -0300

    undo: call get_uri on GstDiscovererInfo to get the uri

 pitivi/undo/medialibrary.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/undo/medialibrary.py b/pitivi/undo/medialibrary.py
index 09b3498..1033c2f 100644
--- a/pitivi/undo/medialibrary.py
+++ b/pitivi/undo/medialibrary.py
@@ -28,7 +28,7 @@ class MediaLibrarySourceAddedAction(UndoableAction):
         self.source = source
 
     def undo(self):
-        self.medialibrary.removeUri(self.source.uri)
+        self.medialibrary.removeUri(self.source.get_uri())
         self._undone()
 
     def do(self):



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