empathy r2496 - trunk/src



Author: xclaesse
Date: Mon Feb 16 21:25:46 2009
New Revision: 2496
URL: http://svn.gnome.org/viewvc/empathy?rev=2496&view=rev

Log:
Set the intial volume button level to a more correct one

Signed-off-by: Sjoerd Simons <sjoerd simons collabora co uk>

Modified:
   trunk/src/empathy-call-window.c

Modified: trunk/src/empathy-call-window.c
==============================================================================
--- trunk/src/empathy-call-window.c	(original)
+++ trunk/src/empathy-call-window.c	Mon Feb 16 21:25:46 2009
@@ -152,6 +152,10 @@
   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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]