diff options
author | 2009-08-11 19:02:27 +0200 | |
---|---|---|
committer | 2009-08-11 19:02:36 +0200 | |
commit | 36718c29869e13707d9b9bde7eb66418e5747494 (patch) | |
tree | 1f59141cf8d91d9c719146d12963a3039cc4d473 /search.c | |
parent | 06a93606f6599e87c2522a2a8feca44efff2bdb0 (diff) |
fixed some scrolling issues
removed voice muting buttons
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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); |