Remove locale panel.
authorHuang Peng <shawn.p.huang@gmail.com>
Thu, 29 May 2008 03:04:25 +0000 (11:04 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Thu, 29 May 2008 03:04:25 +0000 (11:04 +0800)
engine/demo/engine.py

index cf9035c21f9a86bbd238557803e2c5dcec03886c..0631f842d36716c65a2dfbf1cefd3a4090e32e62 100644 (file)
@@ -3,13 +3,11 @@ import gobject
 import gtk
 from ibus import keysyms
 from ibus import interface
-import panel
 
 class Engine (interface.IEngine):
        def __init__ (self, dbusconn, object_path):
                interface.IEngine.__init__ (self, dbusconn, object_path)
                self._dbusconn = dbusconn
-               self._panel = panel.Panel ()
 
        # methods for dbus rpc
        def ProcessKeyEvent (self, keyval, is_press, state):
@@ -23,30 +21,22 @@ class Engine (interface.IEngine):
 
        def FocusIn (self):
                print "FocusIn"
-               self._panel.focus_in ()
 
        def FocusOut (self):
                print "FocusOut"
-               self._panel.focus_out ()
 
        def Reset (self):
                print "Reset"
 
        def SetEnable (self, enable):
                self._enable = enable
-               self._panel.set_enable (enable)
 
        def Destroy (self):
                print "Destroy"
-               self._panel.destroy ()
 
        def SetCursorLocation (self, x, y, w, h):
-               self._panel.set_cursor_location (x, y, w, h)
+               pass
 
 class DemoEngine (Engine):
        pass
 
-
-
-
-