From 366bf755acb7bf6fb5d87d2bd7427df9120afbc2 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 27 Mar 2012 13:57:01 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hobwidget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 89ff23e..9bc09dd 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): self.icon_path = icon_path self.hover_icon_path = hover_icon_path - hbox = gtk.HBox(False, 3) + hbox = gtk.HBox(False, 6) hbox.show() self.add(hbox) self.icon = gtk.Image() @@ -298,7 +298,7 @@ class HobImageButton(gtk.Button): mark = "%s\n%s" % (primary_text, colour, secondary_text) label.set_markup(mark) label.show() - hbox.pack_start(label, True, True, 0) + hbox.pack_start(label, True, True, 6) def set_hover_icon_cb(self, widget, event): self.icon.set_from_file(self.hover_icon_path) -- cgit v1.1