[gnome-contacts/new-design: 4/6] Don't show fake personas with fake persona stores
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/new-design: 4/6] Don't show fake personas with fake persona stores
- Date: Wed, 7 Dec 2011 21:00:58 +0000 (UTC)
commit 9a25d58d320465de45c2547aae2ca25825987cc9
Author: Alexander Larsson <alexl redhat com>
Date: Wed Dec 7 17:58:11 2011 +0100
Don't show fake personas with fake persona stores
These don't have any data or allow any data to be created.
src/contacts-contact.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact.vala b/src/contacts-contact.vala
index f306661..e5ee0e8 100644
--- a/src/contacts-contact.vala
+++ b/src/contacts-contact.vala
@@ -975,7 +975,7 @@ public class Contacts.Contact : GLib.Object {
i++;
}
var fake_persona = FakePersona.maybe_create_for (this);
- if (fake_persona != null)
+ if (fake_persona != null && fake_persona.store.type_id != "fake")
persona_list.add (fake_persona);
persona_list.sort (Contact.compare_persona_by_store);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]