[folks: 6/7] telepathy: Fix individual-properties unit test, always emit notify for full-name and urls.
- From: Jeremy Whiting <jpwhiting src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks: 6/7] telepathy: Fix individual-properties unit test, always emit notify for full-name and urls.
- Date: Tue, 11 Sep 2012 21:28:29 +0000 (UTC)
commit f4e94254af72b03b37d53e27918e792915caa631
Author: Jeremy Whiting <jpwhiting kde org>
Date: Tue Sep 11 13:43:40 2012 -0600
telepathy: Fix individual-properties unit test, always emit notify for
full-name and urls.
backends/telepathy/lib/tpf-persona.vala | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona.vala b/backends/telepathy/lib/tpf-persona.vala
index eedbfb7..a3e6449 100644
--- a/backends/telepathy/lib/tpf-persona.vala
+++ b/backends/telepathy/lib/tpf-persona.vala
@@ -692,7 +692,7 @@ public class Tpf.Persona : Folks.Persona,
{
get
{
- this._contact_notify_contact_info (true);
+ this._contact_notify_contact_info (true, false);
return this._urls_ro;
}
set { this.change_urls.begin (value); }
@@ -1076,10 +1076,7 @@ public class Tpf.Persona : Folks.Persona,
if (new_full_name != this._full_name)
{
this._full_name = new_full_name;
- if (emit_notification)
- {
- this.notify_property ("full-name");
- }
+ this.notify_property ("full-name");
changed = true;
}
@@ -1099,10 +1096,7 @@ public class Tpf.Persona : Folks.Persona,
{
this._urls = new_urls;
this._urls_ro = new_urls.read_only_view;
- if (emit_notification)
- {
- this.notify_property ("urls");
- }
+ this.notify_property ("urls");
changed = true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]