aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index d9bab64ea..ba7d2d43a 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -3125,12 +3125,12 @@ empathy_call_window_dialpad_cb (GtkToggleAction *menu,
active = gtk_toggle_action_get_active (menu);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->sidebar_button),
- active);
-
if (active)
empathy_sidebar_set_page (EMPATHY_SIDEBAR (priv->sidebar),
priv->dtmf_panel);
+
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->sidebar_button),
+ active);
}
static void