Skip to content

Commit

Permalink
Work around to add time spend per tag to the overview, projecthamster…
Browse files Browse the repository at this point in the history
  • Loading branch information
helmo committed May 24, 2016
1 parent 9e00532 commit e37b5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hamster/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _draw(self, context, opacity, matrix):

for i, (label, value) in enumerate(self.values):
g.set_color("#333")
self.layout.set_markup(stuff.escape_pango(label))
self.layout.set_markup(stuff.escape_pango('{} ({})'.format(label, value)))
label_w, label_h = self.layout.get_pixel_size()

y = int(i * label_h * 1.5)
Expand Down

0 comments on commit e37b5a9

Please sign in to comment.