Fix a typo, Add introspect method.
authorPeng Huang <shawn.p.huang@gmail.com>
Fri, 10 Jul 2009 03:00:41 +0000 (11:00 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Fri, 10 Jul 2009 03:00:41 +0000 (11:00 +0800)
bus/inputcontext.c
ibus/inputcontext.py

index 2edcbb5..a15c685 100644 (file)
@@ -598,7 +598,7 @@ _ibus_introspect (BusInputContext   *context,
         "    <method name=\"GetEngine\">\n"
         "      <arg name=\"desc\" direction=\"out\" type=\"v\"/>\n"
         "    </method>\n"
-        "    <method name=\"Destroy\">\n"
+        "    <method name=\"Destroy\"/>\n"
 
         /* signals */
         "    <signal name=\"CommitText\">\n"
index f78191d..ed14992 100644 (file)
@@ -227,6 +227,9 @@ class InputContext(object.Object):
     def set_engine(self, engine):
         return self.__context.SetEngine(engine.name)
 
+    def introspect(self):
+        return self.__context.Introspect()
+
 
 def test():
     import gtk