summaryrefslogtreecommitdiff
path: root/plugins/gtkui/ddbvolumebar.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-27 11:30:55 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-27 11:30:55 +0100
commit4764008e5c08d5878d0d0416098f113ec62ed6d9 (patch)
tree091da1c75a0e7e938523cab7177b121cc7f025ef /plugins/gtkui/ddbvolumebar.c
parente90b724ad3f40d401d57fdba549f6412799f5679 (diff)
volumebar colors tweaks
Diffstat (limited to 'plugins/gtkui/ddbvolumebar.c')
-rw-r--r--plugins/gtkui/ddbvolumebar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/ddbvolumebar.c b/plugins/gtkui/ddbvolumebar.c
index 9e2dfe46..dd888dc7 100644
--- a/plugins/gtkui/ddbvolumebar.c
+++ b/plugins/gtkui/ddbvolumebar.c
@@ -169,10 +169,10 @@ volumebar_draw (GtkWidget *widget) {
_y += (h - _h);
int _w = 3;
if (i <= vol) {
- gdk_draw_rectangle (volumebar_backbuf, widget->style->bg_gc[GTK_STATE_SELECTED], TRUE, _x, _y, _w, _h);
+ gdk_draw_rectangle (volumebar_backbuf, widget->style->dark_gc[GTK_STATE_SELECTED], TRUE, _x, _y, _w, _h);
}
else {
- gdk_draw_rectangle (volumebar_backbuf, widget->style->dark_gc[GTK_STATE_SELECTED], TRUE, _x, _y, _w, _h);
+ gdk_draw_rectangle (volumebar_backbuf, widget->style->dark_gc[GTK_STATE_NORMAL], TRUE, _x, _y, _w, _h);
}
}
}