Commit 629f518d authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Remove unused contacts booleans

parent 7bec5006
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment