diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-04-23 22:02:10 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-04-23 22:02:10 +0800 |
commit | 09e388205e1c9cbcce53aac9b8b0e78dd5343da2 (patch) | |
tree | d3862fb9bc9f437dec57fce22aaa3afef0178985 | |
parent | a62d279e0733e80645981c31f911d938a0bbc1b0 (diff) | |
download | gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.tar gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.tar.gz gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.tar.bz2 gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.tar.lz gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.tar.xz gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.tar.zst gsoc2013-empathy-09e388205e1c9cbcce53aac9b8b0e78dd5343da2.zip |
Sync 'Send Video' button and 'Call -> Send video' menu entry. Fixes #576394
-rw-r--r-- | src/empathy-call-window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index d7d79df90..833f67fda 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1157,20 +1157,25 @@ static void empathy_call_window_camera_toggled_cb (GtkToggleToolButton *toggle, EmpathyCallWindow *window) { + EmpathyCallWindowPriv *priv = GET_PRIV (window); gboolean active; active = (gtk_toggle_tool_button_get_active (toggle)); empathy_call_window_set_send_video (window, active); + gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (priv->send_video), active); } static void empathy_call_window_send_video_toggled_cb (GtkToggleAction *toggle, EmpathyCallWindow *window) { + EmpathyCallWindowPriv *priv = GET_PRIV (window); gboolean active; active = (gtk_toggle_action_get_active (toggle)); empathy_call_window_set_send_video (window, active); + gtk_toggle_tool_button_set_active ( + GTK_TOGGLE_TOOL_BUTTON (priv->camera_button), active); } static void |