[gnome-contacts] Add support for unlinking
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Add support for unlinking
- Date: Fri, 9 Sep 2011 12:18:37 +0000 (UTC)
commit d0ca3521caab462fbaf36f392978c1ff5d5d7e84
Author: Alexander Larsson <alexl redhat com>
Date: Thu Sep 8 21:22:11 2011 +0200
Add support for unlinking
src/contacts-link-dialog.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/contacts-link-dialog.vala b/src/contacts-link-dialog.vala
index f5b3665..8743f94 100644
--- a/src/contacts-link-dialog.vala
+++ b/src/contacts-link-dialog.vala
@@ -70,11 +70,11 @@ public class Contacts.LinkDialog : Dialog {
button.set_valign (Align.CENTER);
button.set_halign (Align.END);
persona_grid.attach (button, 1, i, 1, 2);
- // TODO: Not supported yet
- button.sensitive = false;
button.clicked.connect ( (button) => {
- // TODO: Unlink persona p from contact.individual
- update_personas ();
+ unlink_persona.begin (contact, p, (obj, result) => {
+ unlink_persona.end (result);
+ update_personas ();
+ });
});
i += 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]