diff options
| author | Huang Peng <shawn.p.huang@gmail.com> | 2008-07-31 20:14:11 +0800 |
|---|---|---|
| committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-07-31 20:14:11 +0800 |
| commit | 3217d7d3b4dba90f47784729a4306ef6463a2edc (patch) | |
| tree | 68ed4b9233b253382683791a604d43f8205644d3 /gconf | |
| parent | 6f2354d049e7c39223700cd1d0e511e135f0ba77 (diff) | |
| download | ibus-3217d7d3b4dba90f47784729a4306ef6463a2edc.tar.gz ibus-3217d7d3b4dba90f47784729a4306ef6463a2edc.tar.xz ibus-3217d7d3b4dba90f47784729a4306ef6463a2edc.zip | |
Fix typos.
Diffstat (limited to 'gconf')
| -rw-r--r-- | gconf/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gconf/config.py b/gconf/config.py index 05bd510..d75f073 100644 --- a/gconf/config.py +++ b/gconf/config.py @@ -38,9 +38,9 @@ class Config(ibus.Object): (gobject.TYPE_STRING, gobject.TYPE_PYOBJECT)), } - def __init__ (self, _ibus = None, path = None): + def __init__ (self, bus = None, path = None): super(Config, self).__init__() - conn = _ibus.get_conn() if _ibus != None else None + conn = bus.get_dbusconn() if bus != None else None self.__proxy = ConfigProxy(self, conn, path) self.__client = gconf.Client() self.__handler_id = self.__client.connect("value-changed", self.__value_changed_cb) |
