summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/runningbuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index b4416ecbb3..6f77b83c69 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -67,11 +67,12 @@ class RunningBuild (gobject.GObject):
67 (package, task) = self.pids_to_task[pid] 67 (package, task) = self.pids_to_task[pid]
68 parent = self.tasks_to_iter[(package, task)] 68 parent = self.tasks_to_iter[(package, task)]
69 69
70 if isinstance(event, bb.msg.Msg): 70 if isinstance(event, bb.msg.MsgBase):
71
71 # Set a pretty icon for the message based on it's type. 72 # Set a pretty icon for the message based on it's type.
72 if isinstance(event, bb.msg.MsgWarn): 73 if isinstance(event, bb.msg.MsgWarn):
73 icon = "dialog-warning" 74 icon = "dialog-warning"
74 elif isinstance(event, bb.msg.MsgErr): 75 elif isinstance(event, bb.msg.MsgError):
75 icon = "dialog-error" 76 icon = "dialog-error"
76 else: 77 else:
77 icon = None 78 icon = None
@@ -128,7 +129,7 @@ class RunningBuild (gobject.GObject):
128 # Mark this task as active. 129 # Mark this task as active.
129 self.model.set(i, self.model.COL_ICON, "gtk-execute") 130 self.model.set(i, self.model.COL_ICON, "gtk-execute")
130 131
131 elif isinstance(event, bb.build.Task): 132 elif isinstance(event, bb.build.TaskBase):
132 133
133 if isinstance(event, bb.build.TaskFailed): 134 if isinstance(event, bb.build.TaskFailed):
134 # Mark the task as failed 135 # Mark the task as failed