diff options
Diffstat (limited to 'ui/gtk/notifications.py')
-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 |