summaryrefslogtreecommitdiff
path: root/src/totem-grilo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/totem-grilo.c')
-rw-r--r--src/totem-grilo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index f07cf8d7a..981e07d72 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -1966,6 +1966,8 @@ search_mode_changed (GObject *gobject,
g_assert_not_reached ();
}
g_clear_pointer (&self->last_page, g_free);
+
+ self->in_search = search_mode;
} else {
GtkTreeModel *model;
const char *id = NULL;
@@ -2001,7 +2003,6 @@ search_mode_changed (GObject *gobject,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (self->search_hidden_button), TRUE);
}
- self->in_search = search_mode;
}
typedef struct {