aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-09-21 22:13:27 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-09-21 22:13:27 +0800
commit8b2ca2678997eee8b2b50206f51c72fbe242f972 (patch)
tree34ae292b73a29d3c5ea0b32a8cf8595b2984a528 /shell/e-shell-view-menu.c
parentaeb04a3e77564db46b25a31351dad66384ffa238 (diff)
downloadgsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.gz
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.bz2
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.lz
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.xz
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.tar.zst
gsoc2013-evolution-8b2ca2678997eee8b2b50206f51c72fbe242f972.zip
s/Bonobo_UIHandler/Bonobo_UIContainer/
s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 0d7c992292..7cf14307c0 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -359,6 +359,20 @@ command_create_folder (BonoboUIHandler *uih,
e_shell_show_folder_creation_dialog (shell, GTK_WINDOW (shell_view), default_folder);
}
+static void
+command_xml_dump (gpointer dummy,
+ EShellView *view)
+{
+ BonoboUIHandler *uih;
+ BonoboWin *win;
+
+ uih = e_shell_view_get_bonobo_ui_handler (view);
+
+ win = bonobo_ui_handler_get_app (uih);
+
+ bonobo_win_dump (win, "On demand");
+}
+
/* Unimplemented commands. */
@@ -401,6 +415,7 @@ BonoboUIVerb help_verbs [] = {
BONOBO_UI_VERB_DATA ("HelpUsingMail", command_help, "usage-mail.html"),
BONOBO_UI_VERB_DATA ("HelpUsingCalender", command_help, "usage-calender.html"),
BONOBO_UI_VERB_DATA ("HelpUsingContact", command_help, "usage-contact.html"),
+ BONOBO_UI_VERB ("DumpXML", command_xml_dump),
BONOBO_UI_VERB_END
};