Changeset 8537

Show
Ignore:
Timestamp:
08/22/07 02:50:48 (16 months ago)
Author:
steve-e
Message:

chat2muc: See #2095

Remove ancient menuitem.
Do not allow to invite transports and groupchats.
Include contacts from all accounts.

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/chat_control.py

    r8535 r8537  
    15631563                        send_file_menuitem.set_sensitive(False) 
    15641564 
    1565                 # compact_view_menuitem 
    1566                 compact_view_menuitem.set_active(self.hide_chat_buttons_current) 
    1567  
    15681565                # check if it's possible to convert to groupchat 
    15691566                if gajim.get_transport_name_from_jid(jid): 
  • trunk/src/dialogs.py

    r8536 r8537  
    32593259 
    32603260                # set jabber id and pseudos 
    3261                 for jid in gajim.contacts.get_jid_list(self.account): 
    3262                         contact = \ 
    3263                                 gajim.contacts.get_contact_with_highest_priority(self.account, jid) 
    3264                         if contact.jid not in self.auto_jids: 
    3265                                 if contact.show not in ('offline', 'error'): 
    3266                                         name = contact.name 
    3267                                         if name == '': 
    3268                                                 name = jid.split('@')[0] 
    3269                                         self.store.append([name, jid]) 
     3261                for account in gajim.contacts.get_accounts(): 
     3262                        for jid in gajim.contacts.get_jid_list(account): 
     3263                                contact = \ 
     3264                                        gajim.contacts.get_contact_with_highest_priority(account, jid) 
     3265                                contact_transport = gajim.get_transport_name_from_jid(jid) 
     3266                                if contact.jid not in self.auto_jids and \ 
     3267                                        not contact_transport and \ 
     3268                                        contact.jid not in gajim.interface.minimized_controls[account]: 
     3269                                        if contact.show not in ('offline', 'error'): 
     3270                                                name = contact.name 
     3271                                                if name == '': 
     3272                                                        name = jid.split('@')[0] 
     3273                                                self.store.append([name, jid]) 
    32703274 
    32713275                # show all but...