[pitivi] mainwindow: Fix the "open project" dialog



commit 6163722f4f7e0785bdd8175c512de80284298bd8
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Mon Jul 30 13:27:39 2012 +0200

    mainwindow: Fix the "open project" dialog
    
    In PyGObject, the user data argument is not optional anymore

 pitivi/mainwindow.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 6c55966..822e959 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -704,7 +704,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
             chooser.add_filter(filt)
         default = gtk.FileFilter()
         default.set_name(_("All Supported Formats"))
-        default.add_custom(gtk.FILE_FILTER_URI, ges.formatter_can_load_uri)
+        default.add_custom(gtk.FILE_FILTER_URI, ges.formatter_can_load_uri, None)
         chooser.add_filter(default)
 
         response = chooser.run()



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