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>
This commit is contained in:
parent
1aa102b39e
commit
740bd44c5a
|
@ -84,4 +84,4 @@ class HobPage (gtk.VBox):
|
|||
button = toolbar.append_element(gtk.TOOLBAR_CHILD_RADIOBUTTON, None,
|
||||
buttonname, tip_text, "Private text", icon,
|
||||
cb, None)
|
||||
return toolbar, button
|
||||
return button
|
||||
|
|
|
@ -45,19 +45,19 @@ class ImageConfigurationPage (HobPage):
|
|||
self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL)
|
||||
self.toolbar.set_style(gtk.TOOLBAR_BOTH)
|
||||
|
||||
_, template_button = self.append_toolbar_button(self.toolbar,
|
||||
template_button = self.append_toolbar_button(self.toolbar,
|
||||
"Template",
|
||||
hic.ICON_TEMPLATES_DISPLAY_FILE,
|
||||
hic.ICON_TEMPLATES_HOVER_FILE,
|
||||
"Load a hob building template saved before",
|
||||
self.template_button_clicked_cb)
|
||||
_, my_images_button = self.append_toolbar_button(self.toolbar,
|
||||
my_images_button = self.append_toolbar_button(self.toolbar,
|
||||
"My images",
|
||||
hic.ICON_IMAGES_DISPLAY_FILE,
|
||||
hic.ICON_IMAGES_HOVER_FILE,
|
||||
"Open images built out previously for running or deployment",
|
||||
self.my_images_button_clicked_cb)
|
||||
_, settings_button = self.append_toolbar_button(self.toolbar,
|
||||
settings_button = self.append_toolbar_button(self.toolbar,
|
||||
"Settings",
|
||||
hic.ICON_SETTINGS_DISPLAY_FILE,
|
||||
hic.ICON_SETTINGS_HOVER_FILE,
|
||||
|
|
|
@ -122,7 +122,7 @@ class ImageDetailsPage (HobPage):
|
|||
self.toolbar.set_orientation(gtk.ORIENTATION_HORIZONTAL)
|
||||
self.toolbar.set_style(gtk.TOOLBAR_BOTH)
|
||||
|
||||
_, my_images_button = self.append_toolbar_button(self.toolbar,
|
||||
my_images_button = self.append_toolbar_button(self.toolbar,
|
||||
"My images",
|
||||
hic.ICON_IMAGES_DISPLAY_FILE,
|
||||
hic.ICON_IMAGES_HOVER_FILE,
|
||||
|
|
Loading…
Reference in New Issue