[pitivi] startupwizard: Don't redefine builtin filter
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] startupwizard: Don't redefine builtin filter
- Date: Wed, 8 Jan 2014 18:38:14 +0000 (UTC)
commit 28efa817bdb696fce028a2b93f87976e62fbad6c
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date: Thu Dec 26 14:08:57 2013 +0100
startupwizard: Don't redefine builtin filter
pitivi/dialogs/startupwizard.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/dialogs/startupwizard.py b/pitivi/dialogs/startupwizard.py
index b754e99..6d342db 100644
--- a/pitivi/dialogs/startupwizard.py
+++ b/pitivi/dialogs/startupwizard.py
@@ -55,13 +55,13 @@ class StartUpWizard(object):
self.recent_chooser = self.builder.get_object("recentchooser2")
# FIXME: gtk creates a combo box with only one item, but there is no
# simple way to hide it.
- filter = Gtk.RecentFilter()
- filter.set_name(_("Projects"))
+ _filter = Gtk.RecentFilter()
+ _filter.set_name(_("Projects"))
for asset in GES.list_assets(GES.Formatter):
- filter.add_pattern('*.' + asset.get_meta(GES.META_FORMATTER_EXTENSION))
+ _filter.add_pattern('*.' + asset.get_meta(GES.META_FORMATTER_EXTENSION))
- self.recent_chooser.add_filter(filter)
+ self.recent_chooser.add_filter(_filter)
if not missing_soft_deps:
self.builder.get_object("missing_deps_button").hide()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]