summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py1
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py8
2 files changed, 7 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index ecf5371bf6..25741fe3f4 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -457,6 +457,7 @@ class Builder(gtk.Window):
457 self.handler.build.connect("build-aborted", self.handler_build_aborted_cb) 457 self.handler.build.connect("build-aborted", self.handler_build_aborted_cb)
458 self.handler.build.connect("task-started", self.handler_task_started_cb) 458 self.handler.build.connect("task-started", self.handler_task_started_cb)
459 self.handler.build.connect("log-error", self.handler_build_failure_cb) 459 self.handler.build.connect("log-error", self.handler_build_failure_cb)
460 self.handler.build.connect("log-warning", self.handler_build_failure_cb)
460 self.handler.build.connect("log", self.handler_build_log_cb) 461 self.handler.build.connect("log", self.handler_build_log_cb)
461 self.handler.build.connect("no-provider", self.handler_no_provider_cb) 462 self.handler.build.connect("no-provider", self.handler_no_provider_cb)
462 self.handler.connect("generating-data", self.handler_generating_data_cb) 463 self.handler.connect("generating-data", self.handler_generating_data_cb)
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index b4d19b6627..f6848fd8bf 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -46,7 +46,7 @@ class RunningBuildModel (gtk.TreeStore):
46 color = model.get(it, self.COL_COLOR)[0] 46 color = model.get(it, self.COL_COLOR)[0]
47 if not color: 47 if not color:
48 return False 48 return False
49 if color == HobColors.ERROR: 49 if color == HobColors.ERROR or color == HobColors.WARNING:
50 return True 50 return True
51 return False 51 return False
52 52
@@ -76,7 +76,7 @@ class RunningBuild (gobject.GObject):
76 'build-complete' : (gobject.SIGNAL_RUN_LAST, 76 'build-complete' : (gobject.SIGNAL_RUN_LAST,
77 gobject.TYPE_NONE, 77 gobject.TYPE_NONE,
78 ()), 78 ()),
79 'build-aborted' : (gobject.SIGNAL_RUN_LAST, 79 'build-aborted' : (gobject.SIGNAL_RUN_LAST,
80 gobject.TYPE_NONE, 80 gobject.TYPE_NONE,
81 ()), 81 ()),
82 'task-started' : (gobject.SIGNAL_RUN_LAST, 82 'task-started' : (gobject.SIGNAL_RUN_LAST,
@@ -85,6 +85,9 @@ class RunningBuild (gobject.GObject):
85 'log-error' : (gobject.SIGNAL_RUN_LAST, 85 'log-error' : (gobject.SIGNAL_RUN_LAST,
86 gobject.TYPE_NONE, 86 gobject.TYPE_NONE,
87 ()), 87 ()),
88 'log-warning' : (gobject.SIGNAL_RUN_LAST,
89 gobject.TYPE_NONE,
90 ()),
88 'no-provider' : (gobject.SIGNAL_RUN_LAST, 91 'no-provider' : (gobject.SIGNAL_RUN_LAST,
89 gobject.TYPE_NONE, 92 gobject.TYPE_NONE,
90 (gobject.TYPE_PYOBJECT,)), 93 (gobject.TYPE_PYOBJECT,)),
@@ -148,6 +151,7 @@ class RunningBuild (gobject.GObject):
148 elif event.levelno >= logging.WARNING: 151 elif event.levelno >= logging.WARNING:
149 icon = "dialog-warning" 152 icon = "dialog-warning"
150 color = HobColors.WARNING 153 color = HobColors.WARNING
154 self.emit("log-warning")
151 else: 155 else:
152 icon = None 156 icon = None
153 color = HobColors.OK 157 color = HobColors.OK