summaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-11 19:02:27 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-11 19:02:36 +0200
commit36718c29869e13707d9b9bde7eb66418e5747494 (patch)
tree1f59141cf8d91d9c719146d12963a3039cc4d473 /search.c
parent06a93606f6599e87c2522a2a8feca44efff2bdb0 (diff)
fixed some scrolling issues
removed voice muting buttons
Diffstat (limited to 'search.c')
-rw-r--r--search.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/search.c b/search.c
index 841b0063..824cee62 100644
--- a/search.c
+++ b/search.c
@@ -87,18 +87,6 @@ on_searchentry_changed (GtkEditable *editable,
extern gtkplaylist_t search_playlist;
gtkplaylist_t *ps = &search_playlist;
gtkpl_setup_scrollbar (ps);
- gtk_range_set_value (GTK_RANGE (ps->scrollbar), 0);
- ps->scrollpos = 0;
-#if 0
- int n = gtk_range_get_value (GTK_RANGE (ps->scrollbar));
- printf ("scroll=%d/size=%d\n", n, search_count);
- if (n >= search_count) {
- gtk_range_set_value (GTK_RANGE (ps->scrollbar), max (0, search_count-1));
- }
- if (ps->row >= search_count) {
- ps->row = search_count-1;
- }
-#endif
memset (ps->fmtcache, 0, sizeof (int16_t) * 3 * pl_ncolumns * ps->nvisiblerows);
gtkpl_draw_playlist (ps, 0, 0, ps->playlist->allocation.width, ps->playlist->allocation.height);
gtkpl_expose (ps, 0, 0, ps->playlist->allocation.width, ps->playlist->allocation.height);