[geary/wip/135-contact-popovers: 22/26] Don't use the engine contact's display name
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/135-contact-popovers: 22/26] Don't use the engine contact's display name
- Date: Mon, 8 Apr 2019 00:28:49 +0000 (UTC)
commit e4e1da315b6965efc2d15074729b6517b0a08541
Author: Michael Gratton <mike vee net>
Date: Sun Mar 17 14:15:33 2019 +1100
Don't use the engine contact's display name
We want to show either the desktop addresses's name, or the the name
used by the originator.
src/client/application/application-contact.vala | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/client/application/application-contact.vala b/src/client/application/application-contact.vala
index 124bb01e..a0595db9 100644
--- a/src/client/application/application-contact.vala
+++ b/src/client/application/application-contact.vala
@@ -199,9 +199,6 @@ public class Application.Contact : Geary.BaseObject {
this.is_trusted = (this.individual.trust_level == PERSONAS);
this.is_desktop_contact = true;
} else {
- if (this.contact != null) {
- this.display_name = this.contact.real_name;
- }
this.is_favourite = false;
this.is_trusted = false;
this.is_desktop_contact = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]