summaryrefslogtreecommitdiff
path: root/plugins/gtkui/search.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-22 18:49:46 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-22 18:49:46 +0200
commitc6b4765f8531e2520f2bae3647cdf49002ff3a96 (patch)
treeaaf893946cdaeed694c447bbd400882cad7aafe5 /plugins/gtkui/search.c
parent91ab92805b8a13b200d581b528e97d90209b6761 (diff)
gtkui: fixed playlist refresh regression in search window
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r--plugins/gtkui/search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c
index a52cea44..eb7cb507 100644
--- a/plugins/gtkui/search.c
+++ b/plugins/gtkui/search.c
@@ -81,12 +81,13 @@ on_searchentry_changed (GtkEditable *editable,
// walk playlist starting with playlist_head, and populate list starting
// with search_head
search_refresh ();
+ main_refresh ();
}
void
search_refresh (void) {
if (searchwin && gtk_widget_get_visible (searchwin)) {
- GtkEntry *entry = lookup_widget (searchwin, "searchentry");
+ GtkEntry *entry = GTK_ENTRY (lookup_widget (searchwin, "searchentry"));
const gchar *text = gtk_entry_get_text (entry);
search_process (text);
GtkWidget *pl = lookup_widget (searchwin, "searchlist");