brasero r723 - in trunk: . src



Author: lmedinas
Date: Wed Apr 16 17:37:00 2008
New Revision: 723
URL: http://svn.gnome.org/viewvc/brasero?rev=723&view=rev

Log:
2008-04-16  Luis Medinas  <lmedinas svn gnome org>

        * src/brasero-player-bacon.c (brasero_player_bacon_set_volume):

        Fix volume level to match other Gnome apps. 



Modified:
   trunk/ChangeLog
   trunk/src/brasero-player-bacon.c

Modified: trunk/src/brasero-player-bacon.c
==============================================================================
--- trunk/src/brasero-player-bacon.c	(original)
+++ trunk/src/brasero-player-bacon.c	Wed Apr 16 17:37:00 2008
@@ -515,9 +515,9 @@
 	if (!bacon->priv->pipe)
 		return;
 
-	volume = CLAMP (volume, 0.0, 5.0);
+	volume = CLAMP (volume, 0, 100) / 100.0;
 	g_object_set (bacon->priv->pipe,
-		      "volume", volume * 5.0,
+		      "volume", volume * 100,
 		      NULL);
 }
 



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