[gnome-contacts] Fixed: Show/hide selector on new contact.
- From: Erick PÃrez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Fixed: Show/hide selector on new contact.
- Date: Sun, 17 Feb 2013 21:59:36 +0000 (UTC)
commit 58753d32b56e4a7d75a7229d90952a3aae69d0f6
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Sun Feb 17 13:16:16 2013 -0500
Fixed: Show/hide selector on new contact.
When added a new contact and the selectors are shown, the
new contact should show its selector-button.
src/contacts-view.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-view.vala b/src/contacts-view.vala
index a4f842e..d217ec2 100644
--- a/src/contacts-view.vala
+++ b/src/contacts-view.vala
@@ -250,7 +250,8 @@ public class Contacts.View : Egg.ListBox {
data.grid.set_data<ContactData> ("data", data);
data.grid.show_all ();
- data.selector_button.hide ();
+ if (! selectors_visible)
+ data.selector_button.hide ();
contacts.set (c, data);
this.add (data.grid);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]