diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 836bd0a798..da758a3e0d 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
| @@ -223,19 +223,9 @@ class ImageConfigurationPage (HobPage): | |||
| 223 | button_box = gtk.HBox(False, 6) | 223 | button_box = gtk.HBox(False, 6) |
| 224 | 224 | ||
| 225 | # create button "Just bake" | 225 | # create button "Just bake" |
| 226 | just_bake_button = gtk.Button() | 226 | just_bake_button = HobButton("Just bake") |
| 227 | label = gtk.Label() | ||
| 228 | mark = "<span %s>Just bake</span>" % self.span_tag('24px', 'bold') | ||
| 229 | label.set_markup(mark) | ||
| 230 | |||
| 231 | just_bake_button.set_image(label) | ||
| 232 | just_bake_button.set_size_request(205, 49) | 227 | just_bake_button.set_size_request(205, 49) |
| 233 | just_bake_button.modify_bg(gtk.STATE_NORMAL, gtk.gdk.Color(HobColors.ORANGE)) | ||
| 234 | just_bake_button.modify_bg(gtk.STATE_PRELIGHT, gtk.gdk.Color(HobColors.ORANGE)) | ||
| 235 | just_bake_button.modify_bg(gtk.STATE_SELECTED, gtk.gdk.Color(HobColors.ORANGE)) | ||
| 236 | just_bake_button.set_tooltip_text("Build image to get your target image") | 228 | just_bake_button.set_tooltip_text("Build image to get your target image") |
| 237 | just_bake_button.set_flags(gtk.CAN_DEFAULT) | ||
| 238 | just_bake_button.grab_default() | ||
| 239 | just_bake_button.connect("clicked", self.just_bake_button_clicked_cb) | 229 | just_bake_button.connect("clicked", self.just_bake_button_clicked_cb) |
| 240 | button_box.pack_end(just_bake_button, expand=False, fill=False) | 230 | button_box.pack_end(just_bake_button, expand=False, fill=False) |
| 241 | 231 | ||
