From: Valentin Popa Date: Tue, 26 Nov 2013 09:30:41 +0000 (+0200) Subject: Hob: force notebook refresh X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=347b2ead091f00ee60703f6f3d17cfdd9075ac07;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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] Signed-off-by: Valentin Popa Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/crumbs/builddetailspage.py b/lib/bb/ui/crumbs/builddetailspage.py index 18999564696..7fc690e2fa7 100755 --- a/lib/bb/ui/crumbs/builddetailspage.py +++ b/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