[pitivi] mainwindow: Fix a typo breaking thumbnail images when locating missing clips



commit 2c75ee149f3dc5a3ef2ab92bf4aed35e1eb8dec2
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Sat Oct 13 23:33:02 2012 -0400

    mainwindow: Fix a typo breaking thumbnail images when locating missing clips

 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 32d8b7e..a9572a9 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -940,7 +940,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
         thumb_path_normal = thumb_dir + thumbnail_hash + ".png"
         if os.path.exists(thumb_path_normal):
             self.debug("A thumbnail file was found for %s" % tfs.get_uri())
-            thumbnail = Gtk.image_new_from_file(thumb_path_normal)
+            thumbnail = Gtk.Image.new_from_file(thumb_path_normal)
             thumbnail.set_padding(0, SPACING)
             hbox.pack_start(thumbnail, False, False, 0)
 



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