Skip to contentSkip to conversation

hob: Don't set busy cursor on the root window, just our window

PATCH Applied Ross Burton 2 participants 2 messages Sep 18, 2012 – Sep 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hob: Don't set busy cursor on the root window, just our window

[ YOCTO #3127 ]

---
 bitbake/lib/bb/ui/crumbs/builder.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/bb/ui/crumbs/builder.py +2 -2
index 6df1ca4..335a5cb 100755
@@ -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
 
 
Signature · 1 line
1.7.10
#1 lore raw
Quoted 6 lines · Ross Burton

[ YOCTO #3127 ]

---
 bitbake/lib/bb/ui/crumbs/builder.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard