diff options
| author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-01-31 14:43:08 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-15 12:12:38 +0000 |
| commit | 07803d58e0d33d54dfd3913eea6b050b726edd3c (patch) | |
| tree | 1d71a9276c7b6d10231f9bc77b0e283da3ebeb07 /bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |
| parent | e36994f69a6780e4eb858262f16732d714c922f0 (diff) | |
| download | poky-07803d58e0d33d54dfd3913eea6b050b726edd3c.tar.gz | |
bitbake: hob: remove save/load template functionality
The Hob templates functionality, in its current incarnation,
is confusing and has no clear utility.
[YOCTO #3696]
(Bitbake rev: 4eb3b6bb9f936808ddf085624078f6479c522c48)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | ||
