From 8e100a4444f455204993de872eb0147af9a1ed3f Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Mon, 16 Feb 2009 21:25:46 +0000 Subject: Set the intial volume button level to a more correct one Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2496 --- src/empathy-call-window.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index b9dd5e5b3..2d7b8dd43 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -152,6 +152,10 @@ empathy_call_window_setup_toolbar (EmpathyCallWindow *self) gtk_toolbar_insert (GTK_TOOLBAR (toolbar), tool_item, -1); priv->volume_button = gtk_volume_button_new (); + /* FIXME listen to the audiosinks signals and update the button according to + * that, for now starting out at 1.0 and assuming only the app changes the + * volume will do */ + gtk_scale_button_set_value (GTK_SCALE_BUTTON (priv->volume_button), 1.0); g_signal_connect (G_OBJECT (priv->volume_button), "value-changed", G_CALLBACK (empathy_call_window_volume_changed_cb), self); -- cgit v1.2.3