From 1132cbda320d086176a0228f3addf5f7288ef080 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Tue, 2 Aug 2011 13:00:09 +0100 Subject: CallWindow: add a Help->Contents menu https://bugzilla.gnome.org/show_bug.cgi?id=655884 --- src/empathy-call-window.c | 8 ++++++++ src/empathy-call-window.ui | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 338686d2a..52a1907d7 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -729,6 +729,13 @@ create_pipeline (EmpathyCallWindow *self) g_object_unref (bus); } +static void +empathy_call_window_contents_cb (GtkAction *action, + EmpathyCallWindow *self) +{ + empathy_url_show (GTK_WIDGET (self), "ghelp:empathy?audio-video"); +} + static gboolean empathy_call_window_configure_event_cb (GtkWidget *widget, GdkEvent *event, @@ -823,6 +830,7 @@ empathy_call_window_init (EmpathyCallWindow *self) "camera", "toggled", empathy_call_window_camera_toggled_cb, "dialpad", "toggled", empathy_call_window_dialpad_cb, "menufullscreen", "activate", empathy_call_window_fullscreen_cb, + "menucontents", "activate", empathy_call_window_contents_cb, "menupreviewdisable", "activate", empathy_call_window_disable_camera_cb, "menupreviewminimise", "activate", empathy_call_window_minimise_camera_cb, "menupreviewmaximise", "activate", empathy_call_window_maximise_camera_cb, diff --git a/src/empathy-call-window.ui b/src/empathy-call-window.ui index aa174f338..70a1fa9ee 100644 --- a/src/empathy-call-window.ui +++ b/src/empathy-call-window.ui @@ -30,6 +30,20 @@ gnome-stock-mic + + + help + _Help + + + + + gtk-help + menucontents + _Contents + + + menupreviewminimise @@ -58,6 +72,9 @@ + + + -- cgit v1.2.3