bitbake: Hob: force notebook refresh
Redraw the entire notebook widget after number-of-issues drawable is incremented (because for this case, the notebook widget doesn't refresh it's children automatically). [YOCTO #5596] (Bitbake rev: 347b2ead091f00ee60703f6f3d17cfdd9075ac07) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a10301f6a9
commit
82ff33fc39
|
@ -185,6 +185,7 @@ class BuildDetailsPage (HobPage):
|
||||||
def show_issues(self):
|
def show_issues(self):
|
||||||
self.num_of_issues += 1
|
self.num_of_issues += 1
|
||||||
self.notebook.show_indicator_icon("Issues", self.num_of_issues)
|
self.notebook.show_indicator_icon("Issues", self.num_of_issues)
|
||||||
|
self.notebook.queue_draw()
|
||||||
|
|
||||||
def reset_issues(self):
|
def reset_issues(self):
|
||||||
self.num_of_issues = 0
|
self.num_of_issues = 0
|
||||||
|
|
Loading…
Reference in New Issue