aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-16 19:08:05 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-16 19:08:05 +0800
commit35f5964936bc0f13e145d80d6bd942d229e85c26 (patch)
treea1652b6221363869f5c982a2aee05151daea445f
parent8d524c65651136a3e7f92a316217e8f7e6aea682 (diff)
downloadgsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.tar
gsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.tar.gz
gsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.tar.bz2
gsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.tar.lz
gsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.tar.xz
gsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.tar.zst
gsoc2013-empathy-35f5964936bc0f13e145d80d6bd942d229e85c26.zip
Mute input/output if the button is not active.
svn path=/trunk/; revision=954
-rw-r--r--src/empathy-call-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index c291e70f6..737732e0b 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -226,7 +226,7 @@ call_window_output_mute_button_toggled_cb (GtkWidget *button,
{
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 @@ call_window_input_mute_button_toggled_cb (GtkWidget *button,
{
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);