empathy r954 - trunk/src



Author: xclaesse
Date: Wed Apr 16 12:08:05 2008
New Revision: 954
URL: http://svn.gnome.org/viewvc/empathy?rev=954&view=rev

Log:
Mute input/output if the button is not active.


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	Wed Apr 16 12:08:05 2008
@@ -226,7 +226,7 @@
 {
   gboolean is_muted;
 
-  is_muted = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+  is_muted = !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
 
   empathy_debug (DEBUG_DOMAIN, "Mute output toggled - %d", is_muted);
 
@@ -239,7 +239,7 @@
 {
   gboolean is_muted;
 
-  is_muted = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
+  is_muted = !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
 
   empathy_debug (DEBUG_DOMAIN, "Mute input toggled - %d", is_muted);
 



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