From ad6072f81f19f15cc5d6078f56039de99700a986 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 16 May 2001 03:05:51 +0000 Subject: Make the "Submit Bug Report" menu item fire up a browser with http://bugzilla.ximian.com in it, rather than Bug Buddy (which will not work with our bug tracker, as the latter doesn't have an email interface yet). svn path=/trunk/; revision=9836 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-view-menu.c | 20 +++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index e5d64bcf27..8f6d4ac35b 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-05-15 Ettore Perazzoli + + * e-shell-view-menu.c (command_run_bugbuddy): `#if 0'ed out. + (command_submit_bug): New. Just fire up the web browser with + `http://bugzilla.ximian.com' in it. + (menu_do_misc): Associate the latter instead of the former to the + "HelpSubmitBug" verb. + 2001-05-15 Ettore Perazzoli * e-shell-view-menu.c: Add an `HelpFAQ' verb. diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index 7d4ab56407..4ca1c37b75 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -155,6 +155,8 @@ command_quit (BonoboUIComponent *uih, e_shell_quit (shell); } +#if 0 + static void command_run_bugbuddy (BonoboUIComponent *uih, void *data, @@ -180,6 +182,22 @@ command_run_bugbuddy (BonoboUIComponent *uih, } } +#else + +/* We have no mail interface in the Ximian bug tracker (yet), so Bug Buddy + cannot talk to it. For the time being, it's better to just fire up a + browser window with bugzilla.ximian.com in it. */ + +static void +command_submit_bug (BonoboUIComponent *uic, + void *data, + const char *path) +{ + gnome_url_show ("http://bugzilla.ximian.com"); +} + +#endif + static void zero_pointer(GtkObject *object, void **pointer) { @@ -533,7 +551,7 @@ menu_do_misc (BonoboUIComponent *component, command_toggle_folder_bar, shell_view); bonobo_ui_component_add_verb (component, "HelpSubmitBug", - (BonoboUIVerbFn) command_run_bugbuddy, shell_view); + (BonoboUIVerbFn) command_submit_bug, shell_view); bonobo_ui_component_add_verb (component, "HelpAbout", (BonoboUIVerbFn) command_about_box, shell_view); bonobo_ui_component_add_verb (component, "DebugDumpXml", -- cgit v1.2.3