[pitivi/ges: 286/287] Make the media library clip previewer work again



commit db99c2b11517c02b6b4f21db6438c49e8911b615
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Wed Feb 29 22:49:22 2012 -0500

    Make the media library clip previewer work again

 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 8768ed6..42c95eb 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -1150,7 +1150,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
         preview_window.hide()  # Hack to allow setting the window position
         previewer.previewUri(path)
         previewer.setMinimal()
-        info = self.project.medialibrary.getInfoFromUri(path)
+        info = self.app.current.medialibrary.getInfoFromUri(path)
         try:
             # For videos and images, automatically resize the window
             # Try to keep it 1:1 if it can fit within 85% of the parent window



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