[gnome-contacts] Make sure we don't remove new personas
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make sure we don't remove new personas
- Date: Mon, 29 Aug 2011 14:19:21 +0000 (UTC)
commit 58035cff0a2bb2c9ea32bddf61260e97334c74dc
Author: Alexander Larsson <alexl redhat com>
Date: Mon Aug 29 15:01:56 2011 +0200
Make sure we don't remove new personas
src/contacts-contact-pane.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 6dbd97e..ee85361 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -483,6 +483,7 @@ public class Contacts.ContactPane : EventBox {
var fake = persona as FakePersona;
return yield fake.make_real_and_set (property_name, value);
} else {
+ persona.set_data ("contacts-unedited", true);
persona.set_property (property_name, value);
return null;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]