From 956ae9c34b9edd0ac45396cb3ce83cdecb478ef5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 15 May 2006 17:27:48 +0000 Subject: [PATCH] [francois] notifies dbus when a new gmail message arrives. Fixes #1961 --- src/gajim.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index 1ce26fc16..0468b2e42 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1039,6 +1039,9 @@ class Interface: notify.popup(_('New E-mail'), jid, account, 'gmail', path_to_image = path, title = title, text = text) + if self.remote_ctrl: + self.remote_ctrl.raise_signal('NewGmail', (account, array)) + def save_avatar_files(self, jid, photo_decoded, puny_nick = None): '''Save the decoded avatar to a separate file, and generate files for dbus notifications''' puny_jid = helpers.sanitize_filename(jid)