diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-10-06 16:04:22 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-10-06 16:04:22 +0800 |
commit | 7ab63e10f58b5c9c902e9f49250339a3ccc30ebf (patch) | |
tree | 2fe8d2ae1b8e097c13b8df30b86148190f94abf5 /ui | |
parent | d64996654cc58db9d33896e265a73e097fc2701b (diff) | |
download | ibus-7ab63e10f58b5c9c902e9f49250339a3ccc30ebf.tar.gz ibus-7ab63e10f58b5c9c902e9f49250339a3ccc30ebf.tar.xz ibus-7ab63e10f58b5c9c902e9f49250339a3ccc30ebf.zip |
WIP
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/notifications.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/notifications.py b/ui/gtk/notifications.py index a0fa233..71fb626 100644 --- a/ui/gtk/notifications.py +++ b/ui/gtk/notifications.py @@ -38,7 +38,6 @@ class Notifications(ibus.NotificationsBase): def __init__ (self, bus): super(Notifications, self).__init__(bus) self.__bus = bus - self.__bus.request_name(ibus.IBUS_NOTIFICATIONS_NAME, 0) self.__dbus = dbus.SessionBus() self.__notifications = self.__dbus.get_object( "org.freedesktop.Notifications", "/org/freedesktop/Notifications") @@ -50,6 +49,7 @@ class Notifications(ibus.NotificationsBase): dbus_interface="org.freedesktop.Notifications") self.__ids = set([]) self.__status_icons = None + self.__bus.request_name(ibus.IBUS_NOTIFICATIONS_NAME, 0) def set_status_icon(self, status_icon): self.__status_icon = status_icon |