From 367daae2e4ad026b4255485257e8b116c55f5207 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 14 Feb 2011 15:57:13 +0000 Subject: [PATCH] shell: Fix searching for anything hiding widgets When searching, don't hide the search entry... --- shell/gnome-control-center.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c index cbff385ef..4d3ad8f31 100644 --- a/shell/gnome-control-center.c +++ b/shell/gnome-control-center.c @@ -680,7 +680,7 @@ notebook_switch_page_cb (GtkNotebook *book, { /* make sure the home button is shown on all pages except the overview page */ - if (page_num == OVERVIEW_PAGE) + if (page_num == OVERVIEW_PAGE || page_num == SEARCH_PAGE) { gtk_widget_hide (W (priv->builder, "home-button")); gtk_widget_show (W (priv->builder, "search-entry"));