Patchwork [bitbake-devel,1/1] Hob: force notebook refresh

login
register
mail settings
Submitter Valentin Popa
Date Nov. 26, 2013, 9:30 a.m.
Message ID <150ecc46f3a7f5d52a800fe116f9ad267f3078f0.1385457669.git.valentin.popa@intel.com>
Download mbox | patch
Permalink /patch/62379/
State New
Headers show

Comments

Valentin Popa - Nov. 26, 2013, 9:30 a.m.
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]

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
---
 bitbake/lib/bb/ui/crumbs/builddetailspage.py | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index 1899956..7fc690e 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -185,6 +185,7 @@  class BuildDetailsPage (HobPage):
     def show_issues(self):
         self.num_of_issues += 1
         self.notebook.show_indicator_icon("Issues", self.num_of_issues)
+        self.notebook.queue_draw()
 
     def reset_issues(self):
         self.num_of_issues = 0