diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-10-03 17:28:00 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-10-03 17:28:00 +0800 |
| commit | 368ff2110216b6f968631bfa671aa1ef7de7b7b9 (patch) | |
| tree | 56179f5d5f172143f3bf86ab590b12f615c07f25 /daemon | |
| parent | b940644dbeaec464c0dfb25948f67162fc2a2f45 (diff) | |
| download | ibus-368ff2110216b6f968631bfa671aa1ef7de7b7b9.tar.gz ibus-368ff2110216b6f968631bfa671aa1ef7de7b7b9.tar.xz ibus-368ff2110216b6f968631bfa671aa1ef7de7b7b9.zip | |
WIP.
Diffstat (limited to 'daemon')
| -rw-r--r-- | daemon/bus.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/daemon/bus.py b/daemon/bus.py index 9e7df96..6322332 100644 --- a/daemon/bus.py +++ b/daemon/bus.py @@ -657,19 +657,19 @@ class IBusProxy(ibus.IIBus): def GetInputContextStates(self, ic, dbusconn): return self.__ibus.get_input_context_states(ic, self.__conn) - def ConfigAddWatch(self, key, dbusconn): - return self.__ibus.config_add_watch(key, self.__conn) + def ConfigAddWatch(self, section, dbusconn): + return self.__ibus.config_add_watch(section, self.__conn) - def ConfigRemoveWatch(self, key, dbusconn): - return self.__ibus.config_remove_watch(key, self.__conn) + def ConfigRemoveWatch(self, section, dbusconn): + return self.__ibus.config_remove_watch(section, self.__conn) - def ConfigSetValue(self, key, value, dbusconn, reply_cb, error_cb): - self.__ibus.config_set_value(key, value, self.__conn, + def ConfigSetValue(self, section, name, value, dbusconn, reply_cb, error_cb): + self.__ibus.config_set_value(section, name, value, self.__conn, reply_handler = reply_cb, error_handler = error_cb) - def ConfigGetValue(self, key, dbusconn, reply_cb, error_cb): - self.__ibus.config_get_value(key, self.__conn, + def ConfigGetValue(self, section, name, dbusconn, reply_cb, error_cb): + self.__ibus.config_get_value(section, name, self.__conn, reply_handler = reply_cb, error_handler = error_cb) |
