diff browser_side/contact.py @ 195:dd27072d8ae0

browser side: widgets refactoring: - moved base widgets in a base_widget module - widgets class now register themselves their Drag/Drop type
author Goffi <goffi@goffi.org>
date Mon, 04 Mar 2013 23:01:57 +0100
parents d0503f8f15ef
children c2639c9f86ea
line wrap: on
line diff
--- a/browser_side/contact.py	Mon Mar 04 00:19:03 2013 +0100
+++ b/browser_side/contact.py	Mon Mar 04 23:01:57 2013 +0100
@@ -36,10 +36,10 @@
 
 class DragLabel(DragWidget):
 
-    def __init__(self, text, type):
+    def __init__(self, text, _type):
         DragWidget.__init__(self)
         self._text = text
-        self._type = type
+        self._type = _type
     
     def onDragStart(self, event):
         dt = event.dataTransfer