diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-03-27 13:57:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-29 21:12:57 +0100 |
commit | 366bf755acb7bf6fb5d87d2bd7427df9120afbc2 (patch) | |
tree | a946211410db3db8398d751be493ef5071b58cd5 /bitbake | |
parent | 19a5489f4c1eabe412fd246cec7fd3ff15073f23 (diff) | |
download | poky-366bf755acb7bf6fb5d87d2bd7427df9120afbc2.tar.gz |
lib/bb/ui/crumbs/hobwidget: add padding to HobImageButton
Add more padding between the icon and the text
(Bitbake rev: a81f6a33cf1fa9fe869ac617f2d14d66e07009ff)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 89ff23e072..9bc09dd456 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -281,7 +281,7 @@ class HobImageButton(gtk.Button): | |||
281 | self.icon_path = icon_path | 281 | self.icon_path = icon_path |
282 | self.hover_icon_path = hover_icon_path | 282 | self.hover_icon_path = hover_icon_path |
283 | 283 | ||
284 | hbox = gtk.HBox(False, 3) | 284 | hbox = gtk.HBox(False, 6) |
285 | hbox.show() | 285 | hbox.show() |
286 | self.add(hbox) | 286 | self.add(hbox) |
287 | self.icon = gtk.Image() | 287 | self.icon = gtk.Image() |
@@ -298,7 +298,7 @@ class HobImageButton(gtk.Button): | |||
298 | mark = "%s\n<span fgcolor='%s'><small>%s</small></span>" % (primary_text, colour, secondary_text) | 298 | mark = "%s\n<span fgcolor='%s'><small>%s</small></span>" % (primary_text, colour, secondary_text) |
299 | label.set_markup(mark) | 299 | label.set_markup(mark) |
300 | label.show() | 300 | label.show() |
301 | hbox.pack_start(label, True, True, 0) | 301 | hbox.pack_start(label, True, True, 6) |
302 | 302 | ||
303 | def set_hover_icon_cb(self, widget, event): | 303 | def set_hover_icon_cb(self, widget, event): |
304 | self.icon.set_from_file(self.hover_icon_path) | 304 | self.icon.set_from_file(self.hover_icon_path) |