Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/view.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-01-21 18:13:54 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-01-21 18:13:54 (GMT)
commit655029efa32ec3b921e7dc11231de1d6e6fe89dd (patch)
tree72f06bc0a8fdbeb5db7a225224d62127caf57652 /view.py
parent3cfa76ea9a229eb180410c7bd5359a1705c64b75 (diff)
Change the cursor while the drag happens
Diffstat (limited to 'view.py')
-rw-r--r--view.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/view.py b/view.py
index 20ebdac..326ced8 100644
--- a/view.py
+++ b/view.py
@@ -50,8 +50,10 @@ class MindMapView(Canvas):
logging.debug('__dragging_started_cb %r %r' % (x, y))
thought = kwargs['element']
thought.dragging = True
+ self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1))
def __dragging_finished_cb(self, **kwargs):
+ self.window.set_cursor(None)
x, y = kwargs['position']
thought = kwargs['element']
logging.debug('__dragging_finished_cb %r %r' % (x, y))