Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 732540
Collapse All | Expand All

(-)gnome-contacts-3.36.2/src/contacts-contact-list.vala (-1 / +1 lines)
Lines 243-249 Link Here
243
    selection_changed (individual);
243
    selection_changed (individual);
244
#if HAVE_TELEPATHY
244
#if HAVE_TELEPATHY
245
    if (individual != null)
245
    if (individual != null)
246
      Contact.fetch_contact_info (individual);
246
      Utils.fetch_contact_info (individual);
247
#endif
247
#endif
248
  }
248
  }
249
249
(-)gnome-contacts-3.36.2/src/contacts-contact-sheet.vala (-1 / +3 lines)
Lines 27-32 Link Here
27
public class Contacts.ContactSheet : Grid {
27
public class Contacts.ContactSheet : Grid {
28
  private int last_row = 0;
28
  private int last_row = 0;
29
  private Individual individual;
29
  private Individual individual;
30
  private unowned Store store;
30
  public bool narrow { get; set; default = true; }
31
  public bool narrow { get; set; default = true; }
31
32
32
  private const string[] SORTED_PROPERTIES = {
33
  private const string[] SORTED_PROPERTIES = {
Lines 43-48 Link Here
43
  public ContactSheet (Individual individual, Store store) {
44
  public ContactSheet (Individual individual, Store store) {
44
    Object (row_spacing: 12, column_spacing: 12);
45
    Object (row_spacing: 12, column_spacing: 12);
45
    this.individual = individual;
46
    this.individual = individual;
47
    this.store = store;
46
48
47
    this.individual.notify.connect (update);
49
    this.individual.notify.connect (update);
48
    this.individual.personas_changed.connect (update);
50
    this.individual.personas_changed.connect (update);
Lines 242-248 Link Here
242
                var type = im_persona.presence_type;
244
                var type = im_persona.presence_type;
243
                if (type != PresenceType.UNSET && type != PresenceType.ERROR &&
245
                if (type != PresenceType.UNSET && type != PresenceType.ERROR &&
244
                    type != PresenceType.OFFLINE && type != PresenceType.UNKNOWN) {
246
                    type != PresenceType.OFFLINE && type != PresenceType.UNKNOWN) {
245
                  Utils.start_chat (this.contact, protocol, id.value);
247
                  Utils.start_chat (this.individual, protocol, id.value);
246
                }
248
                }
247
              }
249
              }
248
            });
250
            });
(-)gnome-contacts-3.36.2/src/contacts-utils.vala (-2 / +2 lines)
Lines 80-87 Link Here
80
  }
80
  }
81
81
82
#if HAVE_TELEPATHY
82
#if HAVE_TELEPATHY
83
  public void start_chat (Contact contact, string protocol, string id) {
83
  public void start_chat (Individual individual, string protocol, string id) {
84
    var im_persona = contact.find_im_persona (protocol, id);
84
    var im_persona = Utils.find_im_persona (individual, protocol, id);
85
    var account = (im_persona.store as Tpf.PersonaStore).account;
85
    var account = (im_persona.store as Tpf.PersonaStore).account;
86
    var request_dict = new HashTable<string, Value?>(str_hash, str_equal);
86
    var request_dict = new HashTable<string, Value?>(str_hash, str_equal);
87
    request_dict.insert (TelepathyGLib.PROP_CHANNEL_CHANNEL_TYPE,
87
    request_dict.insert (TelepathyGLib.PROP_CHANNEL_CHANNEL_TYPE,

Return to bug 732540