diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imagedetailspage.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py index 9213255265..07a6eb0b52 100755 --- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py | |||
@@ -23,7 +23,7 @@ | |||
23 | import gobject | 23 | import gobject |
24 | import gtk | 24 | import gtk |
25 | from bb.ui.crumbs.hobcolor import HobColors | 25 | from bb.ui.crumbs.hobcolor import HobColors |
26 | from bb.ui.crumbs.hobwidget import hic, HobViewTable, HobAltButton | 26 | from bb.ui.crumbs.hobwidget import hic, HobViewTable, HobAltButton, HobButton |
27 | from bb.ui.crumbs.hobpages import HobPage | 27 | from bb.ui.crumbs.hobpages import HobPage |
28 | 28 | ||
29 | # | 29 | # |
@@ -264,15 +264,8 @@ class ImageDetailsPage (HobPage): | |||
264 | # create button "Deploy image" | 264 | # create button "Deploy image" |
265 | name = "Deploy image" | 265 | name = "Deploy image" |
266 | if name in buttonlist: | 266 | if name in buttonlist: |
267 | deploy_button = gtk.Button() | 267 | deploy_button = HobButton('Deploy image') |
268 | label = gtk.Label() | ||
269 | mark = "<span %s>Deploy image</span>" % self.span_tag('24px', 'bold') | ||
270 | label.set_markup(mark) | ||
271 | deploy_button.set_image(label) | ||
272 | deploy_button.set_size_request(205, 49) | 268 | deploy_button.set_size_request(205, 49) |
273 | deploy_button.modify_bg(gtk.STATE_NORMAL, gtk.gdk.Color(HobColors.ORANGE)) | ||
274 | deploy_button.modify_bg(gtk.STATE_PRELIGHT, gtk.gdk.Color(HobColors.ORANGE)) | ||
275 | deploy_button.modify_bg(gtk.STATE_SELECTED, gtk.gdk.Color(HobColors.ORANGE)) | ||
276 | deploy_button.set_tooltip_text("Deploy image to get your target board") | 269 | deploy_button.set_tooltip_text("Deploy image to get your target board") |
277 | deploy_button.set_flags(gtk.CAN_DEFAULT) | 270 | deploy_button.set_flags(gtk.CAN_DEFAULT) |
278 | deploy_button.grab_default() | 271 | deploy_button.grab_default() |