Commit fd7cb33f authored by Yann Leboulanger's avatar Yann Leboulanger

lighter import

parent 26136d66
......@@ -29,7 +29,7 @@
import os
import time
import dialogs
from dialogs import PopupNotificationWindow
import gobject
import gtkgui_helpers
import gtk
......@@ -379,8 +379,8 @@ def popup(event_type, jid, account, msg_type='', path_to_image=None, title=None,
# Either nothing succeeded or the user wants old-style notifications
instance = dialogs.PopupNotificationWindow(event_type, jid, account,
msg_type, path_to_image, title, text)
instance = PopupNotificationWindow(event_type, jid, account, msg_type,
path_to_image, title, text)
def on_pynotify_notification_clicked(notification, action):
......@@ -663,7 +663,7 @@ def attach_by_id(self, id_):
def notify_another_way(self, e):
gajim.log.debug('Error when trying to use notification daemon: %s' % \
instance = dialogs.PopupNotificationWindow(self.event_type, self.jid,
instance = PopupNotificationWindow(self.event_type, self.jid,
self.account, self.msg_type, self.path_to_image, self.title,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment