summaryrefslogtreecommitdiff
path: root/src/contacts-window.vala
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2018-04-02 13:24:53 +0200
committerNiels De Graef <nielsdegraef@gmail.com>2018-04-02 15:07:56 +0200
commitd00865bc2c4ce4508fc3cdc0226be542b17f1788 (patch)
tree6f8e609beb08849019984b6ba6fdf1d0d42ea179 /src/contacts-window.vala
parentdb84afdd50bc8d45a0dcf7114881a9a23819445f (diff)
downloadgnome-contacts-d00865bc2c4ce4508fc3cdc0226be542b17f1788.tar.gz
Contact: make hidden a property & cleanup the code.
Diffstat (limited to 'src/contacts-window.vala')
-rw-r--r--src/contacts-window.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contacts-window.vala b/src/contacts-window.vala
index a37023f..4e11ac4 100644
--- a/src/contacts-window.vala
+++ b/src/contacts-window.vala
@@ -412,7 +412,7 @@ public class Contacts.Window : Gtk.ApplicationWindow {
notification.dismiss ();
foreach (var c in contacts)
- c.show ();
+ c.hidden = false;
set_shown_contact (contacts[0]);
this.state = UiState.SHOWING;