diff gui/containergui.py @ 142:c28e29056218

Removed source_container value from data_drag.
author KarstenBock@gmx.net
date Sun, 09 Oct 2011 18:22:48 +0200
parents ef24560eb920
children
line wrap: on
line diff
--- a/gui/containergui.py	Sun Oct 09 14:43:47 2011 +0200
+++ b/gui/containergui.py	Sun Oct 09 18:22:48 2011 +0200
@@ -67,8 +67,7 @@
             # get the up and down images of the widget
             up_image = drag_widget.up_image
             down_image = drag_widget.down_image
-            self.setDragData(drag_widget.item, down_image, up_image, 
-                             self.container)
+            self.setDragData(drag_widget.item, down_image, up_image)
             container.take_item(self.container, drag_widget.item.slot)
             
             # after dragging the 'item', set the widgets' images
@@ -99,8 +98,7 @@
             if replace_item:
                 up_image = drop_widget.up_image
                 down_image = drop_widget.down_image
-                self.setDragData(replace_item, down_image, up_image, 
-                                 self.container)
+                self.setDragData(replace_item, down_image, up_image)
             else:
                 data_drag.dragging = False
                 #reset the mouse cursor to the normal cursor