Remove unused contacts booleans
This commit is contained in:
parent
7bec500650
commit
629f518d74
3 changed files with 0 additions and 6 deletions
|
@ -1361,7 +1361,6 @@ public class Contacts.ContactPane : ScrolledWindow {
|
|||
private async Persona? set_persona_property (Persona persona,
|
||||
string property_name,
|
||||
Value value) throws GLib.Error, PropertyError {
|
||||
contact.is_unedited = false;
|
||||
if (persona is FakePersona) {
|
||||
var fake = persona as FakePersona;
|
||||
return yield fake.make_real_and_set (property_name, value);
|
||||
|
@ -1379,7 +1378,6 @@ public class Contacts.ContactPane : ScrolledWindow {
|
|||
private async Persona? set_individual_property (Contact contact,
|
||||
string property_name,
|
||||
Value value) throws GLib.Error, PropertyError {
|
||||
contact.is_unedited = false;
|
||||
bool did_set = false;
|
||||
// Need to make a copy here as it could change during the yields
|
||||
var personas_copy = contact.individual.personas.to_array ();
|
||||
|
|
|
@ -110,8 +110,6 @@ public class Contacts.Contact : GLib.Object {
|
|||
public PresenceType presence_type;
|
||||
public string presence_message;
|
||||
public bool is_phone;
|
||||
public bool is_new;
|
||||
public bool is_unedited;
|
||||
struct ContactDataRef {
|
||||
void *key;
|
||||
void *data;
|
||||
|
|
|
@ -409,8 +409,6 @@ public class Contacts.ViewWidget : TreeView {
|
|||
cell.visible = true;
|
||||
|
||||
var name = contact.display_name;
|
||||
if (name == "" && contact.is_new)
|
||||
name = _("New contact");
|
||||
switch (text_display) {
|
||||
default:
|
||||
case TextDisplay.NONE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue