[empathy: 1/4] Sync 'Send Video' button and 'Call -> Send video' menu entry. Fixes #576394
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 1/4] Sync 'Send Video' button and 'Call -> Send video' menu entry. Fixes #576394
- Date: Thu, 23 Apr 2009 12:45:04 -0400 (EDT)
commit 09e388205e1c9cbcce53aac9b8b0e78dd5343da2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Apr 23 15:02:10 2009 +0100
Sync 'Send Video' button and 'Call -> Send video' menu entry. Fixes #576394
---
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 d7d79df..833f67f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]