summaryrefslogtreecommitdiffstats
path: root/ibus/notifications.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/notifications.py
parent41ad46305a88637dd99f00a2d2a3f455505d357b (diff)
downloadibus-aedad1ea0a7fef604aa27f4b58433fd8f2ece29e.tar.gz
ibus-aedad1ea0a7fef604aa27f4b58433fd8f2ece29e.tar.xz
ibus-aedad1ea0a7fef604aa27f4b58433fd8f2ece29e.zip
re-implement ibus in c language.
Diffstat (limited to 'ibus/notifications.py')
-rw-r--r--ibus/notifications.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ibus/notifications.py b/ibus/notifications.py
index 3ae067a..0509548 100644
--- a/ibus/notifications.py
+++ b/ibus/notifications.py
@@ -21,12 +21,12 @@
__all__ = (
"NotificationsBase",
- "IBUS_NOTIFICATIONS_NAME",
- "IBUS_NOTIFICATIONS_PATH"
+ "IBUS_SERVICE_NOTIFICATIONS",
+ "IBUS_PATH_NOTIFICATIONS"
)
-IBUS_NOTIFICATIONS_NAME = "org.freedesktop.ibus.Notifications"
-IBUS_NOTIFICATIONS_PATH = "/org/freedesktop/ibus/Notifications"
+IBUS_SERVICE_NOTIFICATIONS = "org.freedesktop.IBus.Notifications"
+IBUS_PATH_NOTIFICATIONS = "/org/freedesktop/IBus/Notifications"
import ibus
from ibus import interface
@@ -50,7 +50,7 @@ class NotificationsBase(ibus.Object):
class NotificationsProxy(interface.INotifications):
def __init__ (self, notify, dbusconn):
- super(NotificationsProxy, self).__init__(dbusconn, IBUS_NOTIFICATIONS_PATH)
+ super(NotificationsProxy, self).__init__(dbusconn, IBUS_PATH_NOTIFICATIONS)
self.__dbusconn = dbusconn
self.__notify = notify