[gnome-contacts] Contacts.App: display contact name after done editing
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Contacts.App: display contact name after done editing
- Date: Mon, 19 Aug 2013 13:09:11 +0000 (UTC)
commit 8eaf9defff57b3d2880acb25c444e4e6eced4734
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Sun Aug 18 00:16:51 2013 -0400
Contacts.App: display contact name after done editing
src/contacts-app.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index a2836ee..238e0d2 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -291,10 +291,13 @@ public class Contacts.App : Gtk.Application {
});
window.done_button.clicked.connect (() => {
- window.right_title = "";
window.done_button.hide ();
window.edit_button.show ();
contacts_pane.set_edit_mode (false);
+
+ if (contacts_pane.contact != null) {
+ window.right_title = contacts_pane.contact.display_name;
+ }
});
window.show_all ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]