aboutsummaryrefslogtreecommitdiff
path: root/hildon
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2009-12-09 17:52:54 +0100
committerClaudio Saavedra <csaavedra@igalia.com>2009-12-09 19:09:07 +0200
commit4360b8da722ec410cd8554756f0ccd6fff94fd74 (patch)
treed27eb7f54d5a0bfe39de98858351687a02f04cf6 /hildon
parentc63dee568a84672f7ae89fa85c5477c4c15c9fcd (diff)
Do not show the live search by default.
Diffstat (limited to 'hildon')
-rw-r--r--hildon/hildon-live-search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c
index 87eb0d5..1ce06e0 100644
--- a/hildon/hildon-live-search.c
+++ b/hildon/hildon-live-search.c
@@ -594,6 +594,7 @@ hildon_live_search_init (HildonLiveSearch *self)
HILDON_MARGIN_DEFAULT);
gtk_toolbar_insert (GTK_TOOLBAR (self), entry_container, 0);
+ gtk_widget_show_all (entry_container);
close = gtk_image_new_from_icon_name ("general_close",
HILDON_ICON_SIZE_FINGER);
@@ -613,6 +614,7 @@ hildon_live_search_init (HildonLiveSearch *self)
close_button_alignment);
gtk_toolbar_insert (GTK_TOOLBAR (self), close_button_container, -1);
+ gtk_widget_show_all (close_button_container);
g_signal_connect (G_OBJECT (close_button), "clicked",
G_CALLBACK (close_button_clicked_cb), self);
@@ -623,7 +625,6 @@ hildon_live_search_init (HildonLiveSearch *self)
g_signal_connect (self, "hide",
G_CALLBACK (on_hide_cb), self);
- gtk_widget_show_all (GTK_WIDGET (self));
gtk_widget_set_no_show_all (GTK_WIDGET (self), TRUE);
}