summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobwidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobwidget.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index db52c47415..189ffb40d3 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -171,11 +171,18 @@ class HobViewTable (gtk.VBox):
171 if not view_column.get_title() in self.toggle_columns: 171 if not view_column.get_title() in self.toggle_columns:
172 self.emit("row-activated", tree.get_model(), path) 172 self.emit("row-activated", tree.get_model(), path)
173 173
174class HobAltButton(gtk.Button):
175 """
176 A gtk.Button subclass which has no relief, and so is more discrete
177 """
178 def __init__(self, label=None):
179 gtk.Button.__init__(self, label)
180 self.set_relief(gtk.RELIEF_NONE)
181
174class HobXpmLabelButtonBox(gtk.EventBox): 182class HobXpmLabelButtonBox(gtk.EventBox):
175 """ label: name of buttonbox 183 """ label: name of buttonbox
176 description: the simple description 184 description: the simple description
177 """ 185 """
178
179 def __init__(self, display_file="", hover_file="", label="", description=""): 186 def __init__(self, display_file="", hover_file="", label="", description=""):
180 gtk.EventBox.__init__(self) 187 gtk.EventBox.__init__(self)
181 self._base_state_flags = gtk.STATE_NORMAL 188 self._base_state_flags = gtk.STATE_NORMAL