Patchwork [bitbake-devel] hob: Don't set busy cursor on the root window, just our window

login
register
mail settings
Submitter Ross Burton
Date Sept. 18, 2012, 2:55 p.m.
Message ID <1347980124-27674-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/36827/
State New
Headers show

Comments

Ross Burton - Sept. 18, 2012, 2:55 p.m.
[ YOCTO #3127 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 bitbake/lib/bb/ui/crumbs/builder.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Sept. 20, 2012, 11:03 a.m.
On Tue, 2012-09-18 at 15:55 +0100, Ross Burton wrote:
> [ YOCTO #3127 ]
> 
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  bitbake/lib/bb/ui/crumbs/builder.py |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 6df1ca4..335a5cb 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -809,9 +809,9 @@  class Builder(gtk.Window):
         self.image_details_page.set_sensitive(sensitive)
 
         if sensitive:
-            self.get_root_window().set_cursor(gtk.gdk.Cursor(gtk.gdk.LEFT_PTR))
+            self.window.set_cursor(None)
         else:
-            self.get_root_window().set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
+            self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
         self.sensitive = sensitive