diff options
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 9 |
2 files changed, 1 insertions, 12 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 0c00d2a6de..9e234f51f4 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -245,7 +245,6 @@ class Builder(gtk.Window): | |||
245 | self.package_model.connect("package-selection-changed", self.packagelist_changed_cb) | 245 | self.package_model.connect("package-selection-changed", self.packagelist_changed_cb) |
246 | self.handler.connect("config-updated", self.handler_config_updated_cb) | 246 | self.handler.connect("config-updated", self.handler_config_updated_cb) |
247 | self.handler.connect("package-formats-updated", self.handler_package_formats_updated_cb) | 247 | self.handler.connect("package-formats-updated", self.handler_package_formats_updated_cb) |
248 | self.handler.connect("layers-updated", self.handler_layers_updated_cb) | ||
249 | self.handler.connect("parsing-started", self.handler_parsing_started_cb) | 248 | self.handler.connect("parsing-started", self.handler_parsing_started_cb) |
250 | self.handler.connect("parsing", self.handler_parsing_cb) | 249 | self.handler.connect("parsing", self.handler_parsing_cb) |
251 | self.handler.connect("parsing-completed", self.handler_parsing_completed_cb) | 250 | self.handler.connect("parsing-completed", self.handler_parsing_completed_cb) |
@@ -452,9 +451,6 @@ class Builder(gtk.Window): | |||
452 | def handler_package_formats_updated_cb(self, handler, formats): | 451 | def handler_package_formats_updated_cb(self, handler, formats): |
453 | self.parameters.all_package_formats = formats | 452 | self.parameters.all_package_formats = formats |
454 | 453 | ||
455 | def handler_layers_updated_cb(self, handler, layers): | ||
456 | self.parameters.all_layers = layers | ||
457 | |||
458 | def handler_command_succeeded_cb(self, handler, initcmd): | 454 | def handler_command_succeeded_cb(self, handler, initcmd): |
459 | if initcmd == self.handler.PARSE_CONFIG: | 455 | if initcmd == self.handler.PARSE_CONFIG: |
460 | # settings | 456 | # settings |
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 9c5dc771f6..f189553267 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -30,9 +30,6 @@ class HobHandler(gobject.GObject): | |||
30 | This object does BitBake event handling for the hob gui. | 30 | This object does BitBake event handling for the hob gui. |
31 | """ | 31 | """ |
32 | __gsignals__ = { | 32 | __gsignals__ = { |
33 | "layers-updated" : (gobject.SIGNAL_RUN_LAST, | ||
34 | gobject.TYPE_NONE, | ||
35 | (gobject.TYPE_PYOBJECT,)), | ||
36 | "package-formats-updated" : (gobject.SIGNAL_RUN_LAST, | 33 | "package-formats-updated" : (gobject.SIGNAL_RUN_LAST, |
37 | gobject.TYPE_NONE, | 34 | gobject.TYPE_NONE, |
38 | (gobject.TYPE_PYOBJECT,)), | 35 | (gobject.TYPE_PYOBJECT,)), |
@@ -152,7 +149,7 @@ class HobHandler(gobject.GObject): | |||
152 | self.package_model.populate(event._pkginfolist) | 149 | self.package_model.populate(event._pkginfolist) |
153 | self.run_next_command() | 150 | self.run_next_command() |
154 | 151 | ||
155 | elif(isinstance(event, logging.LogRecord)): | 152 | elif isinstance(event, logging.LogRecord): |
156 | if event.levelno >= logging.ERROR: | 153 | if event.levelno >= logging.ERROR: |
157 | self.error_msg += event.msg + '\n' | 154 | self.error_msg += event.msg + '\n' |
158 | 155 | ||
@@ -160,10 +157,6 @@ class HobHandler(gobject.GObject): | |||
160 | self.current_phase = "data generation" | 157 | self.current_phase = "data generation" |
161 | if event._model: | 158 | if event._model: |
162 | self.recipe_model.populate(event._model) | 159 | self.recipe_model.populate(event._model) |
163 | elif isinstance(event, bb.event.CoreBaseFilesFound): | ||
164 | self.current_phase = "configuration lookup" | ||
165 | paths = event._paths | ||
166 | self.emit('layers-updated', paths) | ||
167 | elif isinstance(event, bb.event.ConfigFilesFound): | 160 | elif isinstance(event, bb.event.ConfigFilesFound): |
168 | self.current_phase = "configuration lookup" | 161 | self.current_phase = "configuration lookup" |
169 | var = event._variable | 162 | var = event._variable |