diff pyink/FSM_window.py @ 1512:89426a38752f

Remove unused code and variables for FSM_window
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 10 May 2011 23:23:29 +0800
parents 4c349b214877
children 5d4c7ec05bcd
line wrap: on
line diff
--- a/pyink/FSM_window.py	Tue May 10 23:15:14 2011 +0800
+++ b/pyink/FSM_window.py	Tue May 10 23:23:29 2011 +0800
@@ -1386,9 +1386,6 @@
 
 
 class _FSM_move_state_mode(object):
-    __metaclass__ = data_monitor.data_monitor
-    __data_monitor_prefix__ = 'on_'
-
     _popup = None
     
     _window = None
@@ -1434,8 +1431,6 @@
             state.show_selected()
             pass
         
-        window = self._window
-        
         if evtype == pybInkscape.PYSPItem.PYB_EVENT_BUTTON_PRESS and \
                 button == 1:
             start_x = x
@@ -1644,18 +1639,12 @@
 
 
 class _FSM_add_state_mode(object):
-    __metaclass__ = data_monitor.data_monitor
-    __data_monitor_prefix__ = 'on_'
-
     _window = None
     _compview = None
 
     _saved_x = 0
     _saved_y = 0
 
-    _select_state = None
-    _candidate_state = None
-
     _popup = None
     _select = None
     
@@ -1758,13 +1747,6 @@
         pass
 
     def deactivate(self):
-        if self._select_state:
-            self._select_state.hide_selected()
-            pass
-        if self._candidate_state:
-            self._candidate_state.hide_selected()
-            self._candidate_state = None
-            pass
         pass
     pass