summaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-08-09 02:23:42 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-08-09 02:23:42 +0200
commitc488b4aa8961b0820725fa357a2fcb867543a266 (patch)
tree968d8827ea2ebed20fa14bc5188ba1af469069d0 /search.c
parent88c97a3029f9166178819af6de29c7dbf5482c45 (diff)
scrollbar updating for search window
Diffstat (limited to 'search.c')
-rw-r--r--search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/search.c b/search.c
index a90a4bd7..59611d4a 100644
--- a/search.c
+++ b/search.c
@@ -60,7 +60,6 @@ on_searchentry_changed (GtkEditable *editable,
// with search_head
const gchar *text = gtk_entry_get_text (GTK_ENTRY (editable));
- printf ("%s\n", text);
search_head = NULL;
playItem_t *tail = NULL;
@@ -78,7 +77,6 @@ on_searchentry_changed (GtkEditable *editable,
else {
search_head = tail = it;
}
- printf ("found matching item: %s -> %s\n", text, m->value);
search_count++;
break;
}
@@ -88,6 +86,7 @@ on_searchentry_changed (GtkEditable *editable,
extern gtkplaylist_t search_playlist;
gtkplaylist_t *ps = &search_playlist;
+ gtkps_setup_scrollbar (ps);
memset (ps->fmtcache, 0, sizeof (int16_t) * 3 * ps_ncolumns * ps->nvisiblerows);
gtkps_draw_playlist (ps, 0, 0, ps->playlist->allocation.width, ps->playlist->allocation.height);
gtkps_expose (ps, 0, 0, ps->playlist->allocation.width, ps->playlist->allocation.height);