Commit f4e94254 authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

telepathy: Fix individual-properties unit test, always emit notify for

  full-name and urls.
parent 9acedd52
...@@ -692,7 +692,7 @@ public class Tpf.Persona : Folks.Persona, ...@@ -692,7 +692,7 @@ public class Tpf.Persona : Folks.Persona,
{ {
get get
{ {
this._contact_notify_contact_info (true); this._contact_notify_contact_info (true, false);
return this._urls_ro; return this._urls_ro;
} }
set { this.change_urls.begin (value); } set { this.change_urls.begin (value); }
...@@ -1076,10 +1076,7 @@ public class Tpf.Persona : Folks.Persona, ...@@ -1076,10 +1076,7 @@ public class Tpf.Persona : Folks.Persona,
if (new_full_name != this._full_name) if (new_full_name != this._full_name)
{ {
this._full_name = new_full_name; this._full_name = new_full_name;
if (emit_notification) this.notify_property ("full-name");
{
this.notify_property ("full-name");
}
changed = true; changed = true;
} }
...@@ -1099,10 +1096,7 @@ public class Tpf.Persona : Folks.Persona, ...@@ -1099,10 +1096,7 @@ public class Tpf.Persona : Folks.Persona,
{ {
this._urls = new_urls; this._urls = new_urls;
this._urls_ro = new_urls.read_only_view; this._urls_ro = new_urls.read_only_view;
if (emit_notification) this.notify_property ("urls");
{
this.notify_property ("urls");
}
changed = true; changed = true;
} }
......
Markdown is supported
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