~doctormo/dexter-rolodex/data-agnostic-cleanup

« back to all changes in this revision

Viewing changes to dexter/app.py

  • Committer: Allen Lowe
  • Date: 2010-12-23 20:51:36 UTC
  • Revision ID: lallenlowe@gmail.com-20101223205136-vz6jmgjtyhb1sguo
made progress on bug 685069, im nicks have been implemented on the backend

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        self.GetAddresses = self.dexter_object.get_dbus_method("GetAddresses")
118
118
        self.GetPhones = self.dexter_object.get_dbus_method("GetPhones")
119
119
        self.GetEmails = self.dexter_object.get_dbus_method("GetEmails")
 
120
        self.GetIMNicks = self.dexter_object.get_dbus_method("GetIMNicks")
120
121
        self.GetNotes = self.dexter_object.get_dbus_method("GetNotes")
121
122
        self.CreateContact = self.dexter_object.get_dbus_method("CreateContact", dbus_interface='org.elementary.dexterserver')
122
123
        self.DeleteContact = self.dexter_object.get_dbus_method("DeleteContact")
372
373
                                           result["last"][0], result["org"][0],
373
374
                                           result["birthday"][0], result["photo"],
374
375
                                           result["emails"], result["phones"],
375
 
                                           result["addresses"], result["notes"],)
 
376
                                           result["addresses"], result["imnicks"], result["notes"],)
376
377
        elif type(result) == int:
377
378
            id_number = result
378
379
        else:
586
587
                item = self.q.get(True, 2)
587
588
                new_id = self.CreateContact(item[0], item[1], item[2], item[3],
588
589
                                            item[4], item[5], item[6], item[7],
589
 
                                            item[8], item[9])
 
590
                                            item[8], item[9], item[10])
590
591
                self.last_contact_imported = new_id
591
592
                contact = self.GetContactByID(new_id)
592
593
                self.progressbar.pulse()