shell: Fix searching for anything hiding widgets
When searching, don't hide the search entry...
This commit is contained in:
parent
5ca5367018
commit
367daae2e4
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ notebook_switch_page_cb (GtkNotebook *book,
|
||||||
{
|
{
|
||||||
/* make sure the home button is shown on all pages except the overview page */
|
/* 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_hide (W (priv->builder, "home-button"));
|
||||||
gtk_widget_show (W (priv->builder, "search-entry"));
|
gtk_widget_show (W (priv->builder, "search-entry"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue