diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 956f5ced84..615b5445cb 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -55,12 +55,6 @@ class ImageConfigurationPage (HobPage): | |||
55 | self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL) | 55 | self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL) |
56 | self.toolbar.set_style(gtk.TOOLBAR_BOTH) | 56 | self.toolbar.set_style(gtk.TOOLBAR_BOTH) |
57 | 57 | ||
58 | template_button = self.append_toolbar_button(self.toolbar, | ||
59 | "Templates", | ||
60 | hic.ICON_TEMPLATES_DISPLAY_FILE, | ||
61 | hic.ICON_TEMPLATES_HOVER_FILE, | ||
62 | "Load a previously saved template", | ||
63 | self.template_button_clicked_cb) | ||
64 | my_images_button = self.append_toolbar_button(self.toolbar, | 58 | my_images_button = self.append_toolbar_button(self.toolbar, |
65 | "Images", | 59 | "Images", |
66 | hic.ICON_IMAGES_DISPLAY_FILE, | 60 | hic.ICON_IMAGES_DISPLAY_FILE, |
@@ -494,13 +488,6 @@ class ImageConfigurationPage (HobPage): | |||
494 | self.builder.configuration.initial_selected_image = self.builder.configuration.selected_image | 488 | self.builder.configuration.initial_selected_image = self.builder.configuration.selected_image |
495 | self.builder.show_recipes() | 489 | self.builder.show_recipes() |
496 | 490 | ||
497 | def template_button_clicked_cb(self, button): | ||
498 | response, path = self.builder.show_load_template_dialog() | ||
499 | if not response: | ||
500 | return | ||
501 | if path: | ||
502 | self.builder.load_template(path) | ||
503 | |||
504 | def my_images_button_clicked_cb(self, button): | 491 | def my_images_button_clicked_cb(self, button): |
505 | self.builder.show_load_my_images_dialog() | 492 | self.builder.show_load_my_images_dialog() |
506 | 493 | ||