jdahlin - in flumotion/trunk: . flumotion/ui
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Fri Dec 21 14:07:56 CET 2007
Author: jdahlin
Date: Fri Dec 21 14:07:36 2007
New Revision: 6030
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/flumotion/ui/simplewizard.py
Log:
2007-12-21 Johan Dahlin <johan at gnome.org>
* flumotion/ui/simplewizard.py (SimpleWizard.__init__): Forgot to
commit which should have been a part of the fix for rev 6014
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Fri Dec 21 14:07:36 2007
@@ -1,5 +1,8 @@
2007-12-21 Johan Dahlin <johan at gnome.org>
+ * flumotion/ui/simplewizard.py (SimpleWizard.__init__): Forgot to
+ commit which should have been a part of the fix for rev 6014
+
* flumotion/component/encoders/*:
Add encoding profiles and encoding wizard plugins,
Modified: flumotion/trunk/flumotion/ui/simplewizard.py
==============================================================================
--- flumotion/trunk/flumotion/ui/simplewizard.py (original)
+++ flumotion/trunk/flumotion/ui/simplewizard.py Fri Dec 21 14:07:36 2007
@@ -152,6 +152,10 @@
assert self.name
assert self.steps
+ # HACK warning, it would be better to pass in the wizard
+ # to each step
+ self.window1.wizard = self
+
# instantiate steps
for cls in self.steps:
page = cls(self, self.name + '-')
@@ -212,6 +216,9 @@
self.state = None
self.emit('finished')
+ def next(self):
+ self.on_next(self.widgets['button_next'])
+
def on_next(self, button):
button.set_sensitive(False)
next_page = self.page.on_next(self.state)
More information about the flumotion-commit
mailing list