[gnome-contacts] Fixed: Show/hide selector on new contact.



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]