[pitivi] mainwindow: Fix the filechooser filter for opening project files



commit 254f50cd4109b85c6a8142d7c4561069677f385d
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Mon Sep 10 23:52:06 2012 -0400

    mainwindow: Fix the filechooser filter for opening project files

 pitivi/mainwindow.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index fe98cfc..f0bd51e 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -683,7 +683,6 @@ class PitiviMainWindow(Gtk.Window, Loggable):
             abt.set_translator_credits(translators)
         documenters = ["Jean-FranÃois Fortin Tam <nekohayo gmail com>", ]
         abt.set_documenters(documenters)
-        # TODO GTK3: use set_license_type instead
         abt.set_license_type(Gtk.License.LGPL_2_1)
         abt.set_icon_name("pitivi")
         abt.set_logo_icon_name("pitivi")
@@ -707,7 +706,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
             chooser.add_filter(filt)
         default = Gtk.FileFilter()
         default.set_name(_("All Supported Formats"))
-        default.add_custom(Gtk.FileFilterFlags.URI, GES.formatter_can_load_uri, None)
+        default.add_custom(Gtk.FileFilterFlags.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]