summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-20 22:26:41 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-20 22:26:41 +0100
commit26e543f4f5f94805e2bab59e4518cd0398c86c46 (patch)
tree54bd644ab473e85ad38483a3073efb4ac3710171
parentcadb30917a79a91384b9baf2addb0d7c25f1b4bf (diff)
hack to fix focus rendering problems on playlist
-rw-r--r--plugins/gtkui/gtkplaylist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gtkui/gtkplaylist.c b/plugins/gtkui/gtkplaylist.c
index 95c4f224..023c917c 100644
--- a/plugins/gtkui/gtkplaylist.c
+++ b/plugins/gtkui/gtkplaylist.c
@@ -342,6 +342,7 @@ gtkpl_draw_pl_row_back (gtkplaylist_t *ps, int row, DB_playItem_t *it) {
if (treeview->style->depth == -1) {
return; // drawing was called too early
}
+ GTK_OBJECT_FLAGS (treeview) |= GTK_HAS_FOCUS;
int x = -ps->hscrollpos;
int w = ps->totalwidth;
GtkWidget *widget = ps->playlist;