Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2013-06-03 20:05:57 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2013-06-03 20:05:57 (GMT)
commit1124ca1e3feed05effa8e4c77c3a4a67865ea02d (patch)
tree7bec37ba0d51b749b39ee4f651cf3debb5d57883 /activity.py
parent22897f65a23411fbcfb1b584a1bc4e57ef277a6d (diff)
Using Gtk.TargetList instead of python lists
Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/activity.py b/activity.py
index f37e09e..da66477 100644
--- a/activity.py
+++ b/activity.py
@@ -98,7 +98,7 @@ class ChartArea(Gtk.DrawingArea):
Gdk.EventMask.VISIBILITY_NOTIFY_MASK)
self.connect('draw', self._draw_cb)
- self.drag_dest_set_target_list([])
+ self.drag_dest_set_target_list(Gtk.TargetList.new([]))
self.drag_dest_add_text_targets()
self.connect('drag_data_received', self._drag_data_received)