shell: Fix searching for anything hiding widgets

When searching, don't hide the search entry...
This commit is contained in:
Bastien Nocera 2011-02-14 15:57:13 +00:00
parent 5ca5367018
commit 367daae2e4

View file

@ -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"));