[pitivi] Port the medialibrary's filelisterrordialog to GTK3



commit 1bbaf1d6e3085e7a46622c7a86bda3519a778eaf
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Wed Aug 8 23:26:11 2012 -0400

    Port the medialibrary's filelisterrordialog to GTK3

 pitivi/dialogs/filelisterrordialog.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/dialogs/filelisterrordialog.py b/pitivi/dialogs/filelisterrordialog.py
index 5cf0c1a..6410f0f 100644
--- a/pitivi/dialogs/filelisterrordialog.py
+++ b/pitivi/dialogs/filelisterrordialog.py
@@ -73,9 +73,9 @@ class FileListErrorDialog(Signallable, Loggable):
                 uri = uri[7:]
             uri = uri.split('/')[-1]
             uri = unquote(uri)
-            exp = gtk.Expander(uri)
+            exp = gtk.Expander(label=uri)
         else:
-            exp = gtk.Expander(reason)
+            exp = gtk.Expander(label=reason)
 
         textbuffer = gtk.TextBuffer()
         table = textbuffer.get_tag_table()
@@ -96,7 +96,7 @@ class FileListErrorDialog(Signallable, Loggable):
             end = textbuffer.get_end_iter()
             textbuffer.insert(end, "%s\n" % extra)
 
-        textview = gtk.TextView(textbuffer)
+        textview = gtk.TextView(buffer=textbuffer)
         textview.set_wrap_mode(gtk.WRAP_WORD)
 
         exp.add(textview)



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