diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-03-13 13:09:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-20 15:21:35 +0000 |
commit | 740bd44c5a49b2f9431b1ba4d88238e999d4cb4e (patch) | |
tree | 3b8fca8662cff4f01ab3042a2a7ab32a16b1b99e /bitbake | |
parent | 1aa102b39ee9c5ba4e2070c93cd1c1f1827cc520 (diff) | |
download | poky-740bd44c5a49b2f9431b1ba4d88238e999d4cb4e.tar.gz |
ui/crumbs: remove unused return value from append_toolbar_button
No caller of the method uses the returned toolbar variable
(Bitbake rev: 77ed4bb3468d5d256f08329fd307df5a219ae242)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/hobpages.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 6 | ||||
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobpages.py b/bitbake/lib/bb/ui/crumbs/hobpages.py index 63ee3dd835..81edaca682 100755 --- a/bitbake/lib/bb/ui/crumbs/hobpages.py +++ b/bitbake/lib/bb/ui/crumbs/hobpages.py | |||
@@ -84,4 +84,4 @@ class HobPage (gtk.VBox): | |||
84 | button = toolbar.append_element(gtk.TOOLBAR_CHILD_RADIOBUTTON, None, | 84 | button = toolbar.append_element(gtk.TOOLBAR_CHILD_RADIOBUTTON, None, |
85 | buttonname, tip_text, "Private text", icon, | 85 | buttonname, tip_text, "Private text", icon, |
86 | cb, None) | 86 | cb, None) |
87 | return toolbar, button | 87 | return button |
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index c8f7a56c49..b0c5daae4b 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -45,19 +45,19 @@ class ImageConfigurationPage (HobPage): | |||
45 | self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL) | 45 | self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL) |
46 | self.toolbar.set_style(gtk.TOOLBAR_BOTH) | 46 | self.toolbar.set_style(gtk.TOOLBAR_BOTH) |
47 | 47 | ||
48 | _, template_button = self.append_toolbar_button(self.toolbar, | 48 | template_button = self.append_toolbar_button(self.toolbar, |
49 | "Template", | 49 | "Template", |
50 | hic.ICON_TEMPLATES_DISPLAY_FILE, | 50 | hic.ICON_TEMPLATES_DISPLAY_FILE, |
51 | hic.ICON_TEMPLATES_HOVER_FILE, | 51 | hic.ICON_TEMPLATES_HOVER_FILE, |
52 | "Load a hob building template saved before", | 52 | "Load a hob building template saved before", |
53 | self.template_button_clicked_cb) | 53 | self.template_button_clicked_cb) |
54 | _, my_images_button = self.append_toolbar_button(self.toolbar, | 54 | my_images_button = self.append_toolbar_button(self.toolbar, |
55 | "My images", | 55 | "My images", |
56 | hic.ICON_IMAGES_DISPLAY_FILE, | 56 | hic.ICON_IMAGES_DISPLAY_FILE, |
57 | hic.ICON_IMAGES_HOVER_FILE, | 57 | hic.ICON_IMAGES_HOVER_FILE, |
58 | "Open images built out previously for running or deployment", | 58 | "Open images built out previously for running or deployment", |
59 | self.my_images_button_clicked_cb) | 59 | self.my_images_button_clicked_cb) |
60 | _, settings_button = self.append_toolbar_button(self.toolbar, | 60 | settings_button = self.append_toolbar_button(self.toolbar, |
61 | "Settings", | 61 | "Settings", |
62 | hic.ICON_SETTINGS_DISPLAY_FILE, | 62 | hic.ICON_SETTINGS_DISPLAY_FILE, |
63 | hic.ICON_SETTINGS_HOVER_FILE, | 63 | hic.ICON_SETTINGS_HOVER_FILE, |
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py index 30c25aa5d9..b7663d8443 100755 --- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py | |||
@@ -122,7 +122,7 @@ class ImageDetailsPage (HobPage): | |||
122 | self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL) | 122 | self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL) |
123 | self.toolbar.set_style(gtk.TOOLBAR_BOTH) | 123 | self.toolbar.set_style(gtk.TOOLBAR_BOTH) |
124 | 124 | ||
125 | _, my_images_button = self.append_toolbar_button(self.toolbar, | 125 | my_images_button = self.append_toolbar_button(self.toolbar, |
126 | "My images", | 126 | "My images", |
127 | hic.ICON_IMAGES_DISPLAY_FILE, | 127 | hic.ICON_IMAGES_DISPLAY_FILE, |
128 | hic.ICON_IMAGES_HOVER_FILE, | 128 | hic.ICON_IMAGES_HOVER_FILE, |