Patchwork 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:04 p.m.
Message ID <1347977074-3803-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/36739/
State New
Headers show

Comments

Ross Burton - Sept. 18, 2012, 2:04 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(-)
Saul Wold - Sept. 18, 2012, 2:43 p.m.
On 09/18/2012 07:04 AM, 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(-)
>
bitbake-devel list might be a better place for this.

Sau!

> 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
>
>
>
Ross Burton - Sept. 18, 2012, 2:52 p.m.
On 18 September 2012 15:43, Saul Wold <sgw@linux.intel.com> wrote:
> bitbake-devel list might be a better place for this.

Erm, yeah, whoops.

Ross

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