summaryrefslogtreecommitdiff
path: root/callbacks.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-30 14:04:47 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-30 14:04:47 +0200
commit5aa2deafec6aa8b75eb83a026f3cb5a097dddc05 (patch)
treeff2e2b2e89c09201ab8e19f536af157f6d0cb604 /callbacks.c
parent5b80da021e24ea86bfaf299daeb22a5c2889776c (diff)
volumebar will redraw on plugin volume change
Diffstat (limited to 'callbacks.c')
-rw-r--r--callbacks.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/callbacks.c b/callbacks.c
index 8119ac5b..452e473f 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -1130,10 +1130,15 @@ on_volumebar_button_release_event (GtkWidget *widget,
GdkEventButton *event,
gpointer user_data)
{
-
return FALSE;
}
+void
+volumebar_notify_changed (void) {
+ GtkWidget *widget = lookup_widget (mainwin, "volumebar");
+ volumebar_draw (widget);
+ volumebar_expose (widget, 0, 0, widget->allocation.width, widget->allocation.height);
+}
gboolean
on_mainwin_delete_event (GtkWidget *widget,