[gnome-contacts] Hide selectors when Editing a contact.
- From: Erick PÃrez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Hide selectors when Editing a contact.
- Date: Sun, 17 Feb 2013 21:59:46 +0000 (UTC)
commit 489e3917972bf1ad4c9b9d144aface22a983189d
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Sun Feb 17 13:31:42 2013 -0500
Hide selectors when Editing a contact.
src/contacts-app.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 6465dc9..642f2be 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -375,6 +375,9 @@ public class Contacts.App : Gtk.Application {
});
edit_button.clicked.connect (() => {
+ if (select_button.active)
+ select_button.set_active (false);
+
var name = _("Editing");
if (contacts_pane.contact != null) {
name += " %s".printf (contacts_pane.contact.display_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]