Skip to contentSkip to conversation

Hob: bug-fixes

PATCH Applied Liming An 2 participants 3 messages Jul 3, 2012 – Jul 4, 2012

lore
Share & tools
lore

Liming An

author
#0 lore raw

cover Hob: bug-fixes

Due in my mistake there has a high level bug, so fixed it, please to review. Thanks!

The following changes since commit 644ad4bf1e30fcee4b9d5abb819046d1f2193d27:

documentation/bsp-guide/bsp.xml: Yocto term paring (2012-07-02 16:47:45 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
Hob: fixed some variables not clean bug in detail page

 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.5.4
author
#1 lore raw

PATCH 1/1 Hob: fixed some variables not clean bug in detail page

[YOCTO #2679]

---
 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)
bitbake/lib/bb/ui/crumbs/imagedetailspage.py +3 -11
index 07fc3a8..596fb85 100755
@@ -232,7 +232,7 @@ class ImageDetailsPage (HobPage):
 
         is_runnable = self.create_bottom_buttons(self.buttonlist, self.toggled_image)
 
-        #if self.build_succeeded:
+        # Generated image files info
         varlist = ["Name: ", "FileCreated: ", "Directory: "]
         vallist = []
 
@@ -428,7 +428,7 @@ class ImageDetailsPage (HobPage):
             if fileitem['is_toggled']:
                 if fileitem['action_attr'] == 'run':
                     self.builder.runqemu_image(fileitem['name'], self.sel_kernel)
-                elif image_attr == 'deploy':
+                elif fileitem['action_attr'] == 'deploy':
                     self.builder.deploy_image(fileitem['name'])
 
     def table_selected_cb(self, tbutton, image):
@@ -445,14 +445,6 @@ class ImageDetailsPage (HobPage):
             label = ((self.kernel_detail.get_children()[0]).get_children()[0]).get_children()[0]
             label.set_markup(markup)
 
-    def row_activated_cb(self, table, model, path):
-        if not model:
-            return
-        iter = model.get_iter(path)
-        image_name = model[path][0]
-        if iter and model[path][2] == True:
-            self.builder.runqemu_image(image_name, self.sel_kernel)
-
     def create_bottom_buttons(self, buttonlist, image_name):
         # Create the buttons at the bottom
         created = False
@@ -536,7 +528,7 @@ class ImageDetailsPage (HobPage):
 
     def deploy_button_clicked_cb(self, button):
         if self.toggled_image:
-            if self.build_succeeded or self.num_toggled > 1:
+            if self.num_toggled > 1:
                 self.set_sensitive(False)
                 self.show_builded_images_dialog(None, "Deploy image")
                 self.set_sensitive(True)
Signature · 1 line
1.7.5.4
#2 lore raw
In reply to Liming An
Quoted 5 lines · Liming An

Due in my mistake there has a high level bug, so fixed it, please to review. Thanks!

The following changes since commit 644ad4bf1e30fcee4b9d5abb819046d1f2193d27:

Quoted 8 lines

documentation/bsp-guide/bsp.xml: Yocto term paring (2012-07-02 16:47:45 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
Hob: fixed some variables not clean bug in detail page

Merged to master, thanks.

Richard