Skip to contentSkip to conversation

Hob: bug-fixes

PATCH Applied Liming An 2 participants 4 messages Jun 14, 2012

lore
Share & tools
lore

Liming An

author
#0 lore raw

cover Hob: bug-fixes

The following changes since commit 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0:

connman: bump PR and add some comments (2012-06-13 13:11:23 +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 (2):
Hob: fixed an issue about no 'set_page' function in hob failed page
show
Hob: fixed issue about 'select a base image' combo not sensitive

 bitbake/lib/bb/ui/crumbs/builder.py   |    2 ++
 bitbake/lib/bb/ui/crumbs/hobwidget.py |    6 ++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.5.4
author
#1 lore raw

PATCH 1/2 Hob: fixed an issue about no 'set_page' function in hob failed page show

Due in mistake deletion in previous patches, if building failed, will report the error of no 'set_page', so add that function.

---
 bitbake/lib/bb/ui/crumbs/hobwidget.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
bitbake/lib/bb/ui/crumbs/hobwidget.py +6 -0
index afcd5b8..dba278c 100644
@@ -532,6 +532,12 @@ class HobNotebook(gtk.Notebook):
         if search.get_editable() == True:
             search.set_text("")
 
+    def set_page(self, title):
+        for child in self.pages:
+            if child.lbl.get_label() == title:
+                child.grab_focus()
+                self.set_current_page(self.page_num(child))
+
 class HobWarpCellRendererText(gtk.CellRendererText):
     def __init__(self, col_number):
         gtk.CellRendererText.__init__(self)
Signature · 1 line
1.7.5.4
author
#2 lore raw

PATCH 2/2 Hob: fixed issue about 'select a base image' combo not sensitive

The combo view is not sensitive, after select recipes come back. so fixed this issue.

[YOCTO #2500]

---
 bitbake/lib/bb/ui/crumbs/builder.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
bitbake/lib/bb/ui/crumbs/builder.py +2 -0
index ad9c0f4..123608e 100755
@@ -758,7 +758,9 @@ class Builder(gtk.Window):
 
     def window_sensitive(self, sensitive):
         self.image_configuration_page.machine_combo.set_sensitive(sensitive)
+        self.image_configuration_page.machine_combo.child.set_sensitive(sensitive)
         self.image_configuration_page.image_combo.set_sensitive(sensitive)
+        self.image_configuration_page.image_combo.child.set_sensitive(sensitive)
         self.image_configuration_page.layer_button.set_sensitive(sensitive)
         self.image_configuration_page.layer_info_icon.set_sensitive(sensitive)
         self.image_configuration_page.toolbar.set_sensitive(sensitive)
Signature · 1 line
1.7.5.4
#3 lore raw
In reply to Liming An
Quoted 4 lines · Liming An

The following changes since commit 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0:

connman: bump PR and add some comments (2012-06-13 13:11:23 +0100)

Quoted 8 lines

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 (2):
Hob: fixed an issue about no 'set_page' function in hob failed page
show
Hob: fixed issue about 'select a base image' combo not sensitive

Merged to master, thanks.

Richard