aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-20 02:29:41 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-24 08:52:47 +0800
commit7e1d202225b540ed028343a5f882a2bb9c02f121 (patch)
treebc5ea161951f01aa41f6f6e71d270c5c1d3e0b88 /src/empathy-main-window.c
parent56daa742534c8bac393b21ae204927d144307074 (diff)
downloadgsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.tar
gsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.tar.gz
gsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.tar.bz2
gsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.tar.lz
gsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.tar.xz
gsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.tar.zst
gsoc2013-empathy-7e1d202225b540ed028343a5f882a2bb9c02f121.zip
Added Debug Window menu item.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index b9993a8f5..9015a5d25 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -55,6 +55,7 @@
#include "ephy-spinner.h"
#include "empathy-preferences.h"
#include "empathy-about-dialog.h"
+#include "empathy-debug-dialog.h"
#include "empathy-new-chatroom-dialog.h"
#include "empathy-chatrooms-window.h"
#include "empathy-event-manager.h"
@@ -921,6 +922,13 @@ main_window_help_about_cb (GtkAction *action,
}
static void
+main_window_help_debug_cb (GtkAction *action,
+ EmpathyMainWindow *window)
+{
+ empathy_debug_dialog_new (GTK_WINDOW (window->window));
+}
+
+static void
main_window_help_contents_cb (GtkAction *action,
EmpathyMainWindow *window)
{
@@ -1128,6 +1136,7 @@ empathy_main_window_show (void)
"edit_personal_information", "activate", main_window_edit_personal_information_cb,
"edit_preferences", "activate", main_window_edit_preferences_cb,
"help_about", "activate", main_window_help_about_cb,
+ "help_debug", "activate", main_window_help_debug_cb,
"help_contents", "activate", main_window_help_contents_cb,
NULL);