aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-02-17 05:25:46 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-17 05:25:46 +0800
commit8e100a4444f455204993de872eb0147af9a1ed3f (patch)
tree1192ffafcb4ba125cbaec015c902be92a1d31d3b
parent8f1e05c4564e41bfa9b77e1f7576735f39f60553 (diff)
downloadgsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.tar
gsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.tar.gz
gsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.tar.bz2
gsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.tar.lz
gsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.tar.xz
gsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.tar.zst
gsoc2013-empathy-8e100a4444f455204993de872eb0147af9a1ed3f.zip
Set the intial volume button level to a more correct one
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2496
-rw-r--r--src/empathy-call-window.c4
1 files changed, 4 insertions, 0 deletions
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);