[gnome-contacts] ContactPane: move handling edit-mode to the Window
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] ContactPane: move handling edit-mode to the Window
- Date: Thu, 29 May 2014 20:26:10 +0000 (UTC)
commit 71403bb2d7e3a79780176ab1cdcec8f772979e71
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Sat Apr 26 16:24:14 2014 -0400
ContactPane: move handling edit-mode to the Window
Fix, leaving inconsistent UI state when removing a contact from ContactPane
src/contacts-contact-pane.vala | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 5349d82..cfc868f 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -383,11 +383,8 @@ public class Contacts.ContactPane : Notebook {
void delete_contact () {
if (contact != null) {
contact.hide ();
- set_edit_mode (false);
this.will_delete (contact);
-
- show_contact (null);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]