summaryrefslogtreecommitdiffstats
path: root/ibus/interface/inotifications.py
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2009-02-05 10:39:56 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2009-02-05 10:39:56 +0800
commitaedad1ea0a7fef604aa27f4b58433fd8f2ece29e (patch)
treeffcb531d8474bde18b90341bcd4eb639edd74525 /ibus/interface/inotifications.py
parent41ad46305a88637dd99f00a2d2a3f455505d357b (diff)
downloadibus-aedad1ea0a7fef604aa27f4b58433fd8f2ece29e.tar.gz
ibus-aedad1ea0a7fef604aa27f4b58433fd8f2ece29e.tar.xz
ibus-aedad1ea0a7fef604aa27f4b58433fd8f2ece29e.zip
re-implement ibus in c language.
Diffstat (limited to 'ibus/interface/inotifications.py')
-rw-r--r--ibus/interface/inotifications.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ibus/interface/inotifications.py b/ibus/interface/inotifications.py
index 7d667f2..74d4dcf 100644
--- a/ibus/interface/inotifications.py
+++ b/ibus/interface/inotifications.py
@@ -23,22 +23,22 @@ __all__ = ("INotifications", )
import dbus.service
from ibus.common import \
- IBUS_NOTIFICATIONS_IFACE
+ IBUS_IFACE_NOTIFICATIONS
class INotifications(dbus.service.Object):
# define method decorator.
method = lambda **args: \
- dbus.service.method(dbus_interface = IBUS_NOTIFICATIONS_IFACE, \
+ dbus.service.method(dbus_interface = IBUS_IFACE_NOTIFICATIONS, \
**args)
# define signal decorator.
signal = lambda **args: \
- dbus.service.signal(dbus_interface = IBUS_NOTIFICATIONS_IFACE, \
+ dbus.service.signal(dbus_interface = IBUS_IFACE_NOTIFICATIONS, \
**args)
# define async method decorator.
async_method = lambda **args: \
- dbus.service.method(dbus_interface = IBUS_NOTIFICATIONS_IFACE, \
+ dbus.service.method(dbus_interface = IBUS_IFACE_NOTIFICATIONS, \
async_callbacks = ("reply_cb", "error_cb"), \
**args)