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.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index aecfadfb34..102cc7dc86 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -42,14 +42,6 @@ class RunningBuildModel (gtk.TreeStore):
42 gobject.TYPE_STRING, 42 gobject.TYPE_STRING,
43 gobject.TYPE_INT) 43 gobject.TYPE_INT)
44 44
45 def config_model_filter(self, model, it):
46 msg = model.get(it, self.COL_MESSAGE)[0]
47 if not msg or type(msg) != str:
48 return False
49 if msg.startswith("\nOE Build Configuration:\n"):
50 return True
51 return False
52
53 def failure_model_filter(self, model, it): 45 def failure_model_filter(self, model, it):
54 color = model.get(it, self.COL_COLOR)[0] 46 color = model.get(it, self.COL_COLOR)[0]
55 if not color: 47 if not color:
@@ -58,11 +50,6 @@ class RunningBuildModel (gtk.TreeStore):
58 return True 50 return True
59 return False 51 return False
60 52
61 def config_model(self):
62 model = self.filter_new()
63 model.set_visible_func(self.config_model_filter)
64 return model
65
66 def failure_model(self): 53 def failure_model(self):
67 model = self.filter_new() 54 model = self.filter_new()
68 model.set_visible_func(self.failure_model_filter) 55 model.set_visible_func(self.failure_model_filter)
@@ -75,7 +62,6 @@ class RunningBuildModel (gtk.TreeStore):
75 def close_task_refresh(self): 62 def close_task_refresh(self):
76 self.foreach(self.foreach_cell_func, None) 63 self.foreach(self.foreach_cell_func, None)
77 64
78
79class RunningBuild (gobject.GObject): 65class RunningBuild (gobject.GObject):
80 __gsignals__ = { 66 __gsignals__ = {
81 'build-started' : (gobject.SIGNAL_RUN_LAST, 67 'build-started' : (gobject.SIGNAL_RUN_LAST,
@@ -422,25 +408,6 @@ class RunningBuildTreeView (gtk.TreeView):
422 408
423 self._add_to_clipboard(message) 409 self._add_to_clipboard(message)
424 410
425
426class BuildConfigurationTreeView(gtk.TreeView):
427
428 def __init__ (self):
429 gtk.TreeView.__init__(self)
430 self.set_rules_hint(False)
431 self.set_headers_visible(False)
432 self.set_property("hover-expand", True)
433 self.get_selection().set_mode(gtk.SELECTION_SINGLE)
434
435 # The message of the build.
436 self.message_renderer = HobWarpCellRendererText (col_number=0)
437 self.message_column = gtk.TreeViewColumn ("Message", self.message_renderer, text=RunningBuildModel.COL_MESSAGE, background=RunningBuildModel.COL_COLOR)
438 font = self.get_style().font_desc
439 font.set_size(pango.SCALE * 13)
440 self.message_renderer.set_property('font-desc', font)
441 self.append_column (self.message_column)
442
443
444class BuildFailureTreeView(gtk.TreeView): 411class BuildFailureTreeView(gtk.TreeView):
445 412
446 def __init__ (self): 413 def __init__ (self):