diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-16 11:05:51 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-16 11:05:51 +0800 |
commit | ad6072f81f19f15cc5d6078f56039de99700a986 (patch) | |
tree | e94e06d0792003a656cc7931a7973e0c8c3c67f0 /shell/e-shell-view-menu.c | |
parent | 5cb76ec7bae4354994baac87ca66e9d4fdd2ef7a (diff) | |
download | gsoc2013-evolution-ad6072f81f19f15cc5d6078f56039de99700a986.tar.gz gsoc2013-evolution-ad6072f81f19f15cc5d6078f56039de99700a986.tar.zst gsoc2013-evolution-ad6072f81f19f15cc5d6078f56039de99700a986.zip |
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
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 20 |
1 files changed, 19 insertions, 1 deletions
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", |