diff gui/containergui_base.py @ 142:c28e29056218

Removed source_container value from data_drag.
author KarstenBock@gmx.net
date Sun, 09 Oct 2011 18:22:48 +0200
parents 9e86c37f5506
children 2241722311bf
line wrap: on
line diff
--- a/gui/containergui_base.py	Sun Oct 09 14:43:47 2011 +0200
+++ b/gui/containergui_base.py	Sun Oct 09 18:22:48 2011 +0200
@@ -65,14 +65,13 @@
         pass    
     
 
-    def setDragData(self, drag_item, down_image, up_image, container):
+    def setDragData(self, drag_item, down_image, up_image):
         """Set the dragging data"""
         # set the mouse cursor to be the widget's image
         self.controller.setMouseCursor(up_image.source, down_image.source)
         data_drag.dragged_item = drag_item
         data_drag.dragged_image = up_image.source
         data_drag.dragging = True
-        data_drag.source_container = container
         
     def createMenuItems(self, item, actions):
         """Creates context menu items for all classes based on ContainerGUI"""