[jhbuild] Fix jhbuild gui (moduleset loading & start_phase signature)
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Fix jhbuild gui (moduleset loading & start_phase signature)
- Date: Mon, 6 Feb 2012 13:44:49 +0000 (UTC)
commit 04a7d04f155ecb6492584679a9adfeb5355573a5
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Mon Feb 6 14:43:39 2012 +0100
Fix jhbuild gui (moduleset loading & start_phase signature)
https://bugzilla.gnome.org/show_bug.cgi?id=669475
jhbuild/frontends/gtkui.py | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index a72eb50..5564812 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -59,7 +59,8 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
def __init__(self, config, module_list=None, module_set=None):
self.orig_modulelist = module_list
- buildscript.BuildScript.__init__(self, config, module_list, module_set=module_set)
+ self.module_set = jhbuild.moduleset.load(config)
+ buildscript.BuildScript.__init__(self, config, module_list, module_set=self.module_set)
self.config = config
gtk.Window.__init__(self)
self.set_resizable(False)
@@ -75,8 +76,6 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
)
self.set_title('JHBuild')
- self.module_set = jhbuild.moduleset.load(config)
-
self.create_modules_list_model()
self.create_ui()
self.notify = notify.Notify(config)
@@ -349,7 +348,7 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
self.build_button.set_sensitive(True)
self.module_hbox.set_sensitive(True)
- def start_phase(self):
+ def start_phase(self, module, phase):
self.notify.clear()
def start_module(self, module):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]