diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index f0d9cbcc98..71f0629714 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -516,7 +516,6 @@ class HobTabBar(gtk.DrawingArea): | |||
516 | cr.fill() | 516 | cr.fill() |
517 | 517 | ||
518 | def draw_indicator(self, cr, i): | 518 | def draw_indicator(self, cr, i): |
519 | style = self.get_style() | ||
520 | tab_x = self.children[i]["x"] | 519 | tab_x = self.children[i]["x"] |
521 | tab_y = self.children[i]["y"] | 520 | tab_y = self.children[i]["y"] |
522 | number = self.children[i]["indicator_number"] | 521 | number = self.children[i]["indicator_number"] |
@@ -528,7 +527,6 @@ class HobTabBar(gtk.DrawingArea): | |||
528 | # x position is offset(tab_width*3/4 - icon_width/2) + start_pos(tab_x) | 527 | # x position is offset(tab_width*3/4 - icon_width/2) + start_pos(tab_x) |
529 | x = tab_x + self.tab_width * 3/4 - dest_w/2 | 528 | x = tab_x + self.tab_width * 3/4 - dest_w/2 |
530 | y = tab_y + self.tab_height/2 - dest_h/2 | 529 | y = tab_y + self.tab_height/2 - dest_h/2 |
531 | cr.move_to(tab_x, tab_y) | ||
532 | r = min(dest_w, dest_h)/2 | 530 | r = min(dest_w, dest_h)/2 |
533 | color = cr.set_source_color(gtk.gdk.color_parse(HobColors.ORANGE)) | 531 | color = cr.set_source_color(gtk.gdk.color_parse(HobColors.ORANGE)) |
534 | cr.arc(x + r, y + r, r, 0, 2*math.pi) | 532 | cr.arc(x + r, y + r, r, 0, 2*math.pi) |