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 /gconf | |
| parent | b940644dbeaec464c0dfb25948f67162fc2a2f45 (diff) | |
| download | ibus-368ff2110216b6f968631bfa671aa1ef7de7b7b9.tar.gz ibus-368ff2110216b6f968631bfa671aa1ef7de7b7b9.tar.xz ibus-368ff2110216b6f968631bfa671aa1ef7de7b7b9.zip | |
WIP.
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 52f3dbf..4b67106 100644 --- a/gconf/config.py +++ b/gconf/config.py @@ -39,7 +39,7 @@ class Config(ibus.Object): "value-changed" : ( gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, - (gobject.TYPE_STRING, gobject.TYPE_PYOBJECT)), + (gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_PYOBJECT)), } def __init__ (self, bus = None, path = None): @@ -137,7 +137,7 @@ class Config(ibus.Object): if value == None: value = 0 section_name = key.replace(GCONF_IBUS_PATH + "/", "") - section_name = section_name.split("/", 1) + section_name = section_name.rsplit("/", 1) if len(section_name) == 1: self.emit("value-changed", "", section_name[0], value) elif len(section_name) == 2: |
