Changeset 8562 for branches/jingle

Show
Ignore:
Timestamp:
08/24/07 16:45:24 (15 months ago)
Author:
liori
Message:

Jingle: notifications

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/jingle/src/gajim.py

    r8561 r8562  
    18881888                self.add_event(account, peerjid, 'voip-incoming', (peerjid, sid,)) 
    18891889 
    1890                 # TODO: check this too 
    18911890                if helpers.allow_showing_notification(account): 
    18921891                        # TODO: we should use another pixmap ;-) 
    18931892                        img = os.path.join(gajim.DATA_DIR, 'pixmaps', 'events', 
    18941893                                'ft_request.png') 
    1895                         txt = _('%s wants to start a jingle session.') % gajim.get_name_from_jid( 
     1894                        txt = _('%s wants to start a voice chat.') % gajim.get_name_from_jid( 
    18961895                                account, peerjid) 
    18971896                        path = gtkgui_helpers.get_path_to_generic_or_avatar(img) 
    1898                         event_type = _('Jingle Session Request') 
    1899                         notify.popup(event_type, peerjid, account, 'jingle-request', 
     1897                        event_type = _('Voice Chat Request') 
     1898                        notify.popup(event_type, peerjid, account, 'voip-incoming', 
    19001899                                path_to_image = path, title = event_type, text = txt) 
    19011900