diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/runningbuild.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 6e6aac9855..7343a29caf 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py | |||
@@ -84,6 +84,9 @@ class RunningBuild (gobject.GObject): | |||
84 | 'task-started' : (gobject.SIGNAL_RUN_LAST, | 84 | 'task-started' : (gobject.SIGNAL_RUN_LAST, |
85 | gobject.TYPE_NONE, | 85 | gobject.TYPE_NONE, |
86 | (gobject.TYPE_PYOBJECT,)), | 86 | (gobject.TYPE_PYOBJECT,)), |
87 | 'log-error' : (gobject.SIGNAL_RUN_LAST, | ||
88 | gobject.TYPE_NONE, | ||
89 | ()), | ||
87 | } | 90 | } |
88 | pids_to_task = {} | 91 | pids_to_task = {} |
89 | tasks_to_iter = {} | 92 | tasks_to_iter = {} |
@@ -134,6 +137,7 @@ class RunningBuild (gobject.GObject): | |||
134 | if event.levelno >= logging.ERROR: | 137 | if event.levelno >= logging.ERROR: |
135 | icon = "dialog-error" | 138 | icon = "dialog-error" |
136 | color = HobColors.ERROR | 139 | color = HobColors.ERROR |
140 | self.emit("log-error") | ||
137 | elif event.levelno >= logging.WARNING: | 141 | elif event.levelno >= logging.WARNING: |
138 | icon = "dialog-warning" | 142 | icon = "dialog-warning" |
139 | color = HobColors.WARNING | 143 | color = HobColors.WARNING |