Patchwork [bitbake-devel] hob/imageconfigurationpage: Set secondary action for "Edit image" button

login
register
mail settings
Submitter Cristiana Voicu
Date Aug. 31, 2012, 11:37 a.m.
Message ID <1346413079-3056-1-git-send-email-cristiana.voicu@intel.com>
Download mbox | patch
Permalink /patch/35601/
State New
Headers show

Comments

Cristiana Voicu - Aug. 31, 2012, 11:37 a.m.
The image configuration screen should have only one primary action.
"Edit image" button has now secondary action, and also I have removed
"or" label.

[YOCTO #3010]

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index 6aeb6dc..cecaacb 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -229,12 +229,8 @@  class ImageConfigurationPage (HobPage):
         self.just_bake_button.connect("clicked", self.just_bake_button_clicked_cb)
         button_box.pack_end(self.just_bake_button, expand=False, fill=False)
 
-        # create separator label
-        self.or_label = gtk.Label(" or ")
-        button_box.pack_end(self.or_label, expand=False, fill=False)
-
         # create button "Edit Image"
-        self.edit_image_button = HobButton("Edit image")
+        self.edit_image_button = HobAltButton("Edit image")
         self.edit_image_button.set_size_request(205, 49)
         self.edit_image_button.set_tooltip_text("Edit target image")
         self.edit_image_button.connect("clicked", self.edit_image_button_clicked_cb)