changeset 406:63f8469b4ad3

browser_side: bug fix ListManager properties
author souliane <souliane@mailoo.org>
date Sun, 16 Mar 2014 20:55:50 +0100
parents 41b8b96f2248
children 6a6551de4414
files browser_side/list_manager.py
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/browser_side/list_manager.py	Sat Mar 15 00:33:04 2014 +0100
+++ b/browser_side/list_manager.py	Sun Mar 16 20:55:50 2014 +0100
@@ -230,12 +230,11 @@
     @property
     def target_drop_cell(self):
         """@return: the panel where something has been dropped."""
-        return self.target_drop_cell
+        return self._target_drop_cell
 
-    @target_drop_cell.setter
-    def target_drop_cell(self, target_drop_cell):
+    def setTargetDropCell(self, target_drop_cell):
         """@param: target_drop_cell: the panel where something has been dropped."""
-        self.target_drop_cell = target_drop_cell
+        self._target_drop_cell = target_drop_cell
 
     def registerPopupMenuPanel(self, entries, hide, callback):
         "Register a popup menu panel that will be bound to all contact keys elements."
@@ -535,7 +534,7 @@
         """
         XXX: Property setter here would not make it, you need a proper method!
         @param target_drop_cell: the panel where something has been dropped."""
-        self._parent.target_drop_cell = target_drop_cell
+        self._parent.setTargetDropCell(target_drop_cell)
 
 
 class ContactChooserPanel(DialogBox):