GNOME Bugzilla – Bug 591149
regression in the project settings dialog
Last modified: 2009-08-10 18:46:17 UTC
As of current git pitivi, the project settings dialog only shows the name and description fields. In the terminal, the following traceback occurs: jeff@kusanagi:~/trunks/pitivi/pitivi$ bin/pitivi AttributeError: 'module' object has no attribute 'Element' Traceback (most recent call last):
+ Trace 216845
% (code, module, e))
Traceback (most recent call last): File "pitivi/ui/mainwindow.py", line 562, in _projectSettingsCb ProjectSettingsDialog(self, self.app.current).show() File "pitivi/ui/projectsettings.py", line 35, in __init__ self.widgets["exportwidget"].setSettings(self.project.getSettings()) AttributeError: 'gtk.Label' object has no attribute 'setSettings'
According to git-bisect, it was broken by this commit: commit d957370d1a652e724e65970f33b5ab8bccff8dbb Author: Brandon Lewis <brandon_lewis@berkeley.edu> Date: Sat Aug 1 15:11:33 2009 -0700 encodingdialog.py, exportesttingswidget.py: pass application instance in constructor
commit 369b8774f216f014bf52c28d3123f07f00f64753 Author: Edward Hervey <bilboed@bilboed.com> Date: Mon Aug 10 20:43:39 2009 +0200 ProjectSettings: Manually create/add Widget. Fixes #591149 The problem was introduced by commit d957370, which required an extra __init__ argument to ExportSettingsWidget... which glade didn't have.