From da072e7b5fce425ebf248561b488b30c093dc5a8 Mon Sep 17 00:00:00 2001 From: Tomasz Melcer Date: Fri, 24 Aug 2007 14:45:24 +0000 Subject: [PATCH] Jingle: notifications --- src/gajim.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 7a0e1e949..9c6699489 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1887,16 +1887,15 @@ class Interface: self.add_event(account, peerjid, 'voip-incoming', (peerjid, sid,)) - # TODO: check this too if helpers.allow_showing_notification(account): # TODO: we should use another pixmap ;-) img = os.path.join(gajim.DATA_DIR, 'pixmaps', 'events', 'ft_request.png') - txt = _('%s wants to start a jingle session.') % gajim.get_name_from_jid( + txt = _('%s wants to start a voice chat.') % gajim.get_name_from_jid( account, peerjid) path = gtkgui_helpers.get_path_to_generic_or_avatar(img) - event_type = _('Jingle Session Request') - notify.popup(event_type, peerjid, account, 'jingle-request', + event_type = _('Voice Chat Request') + notify.popup(event_type, peerjid, account, 'voip-incoming', path_to_image = path, title = event_type, text = txt) def read_sleepy(self):