aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-13 07:53:51 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-13 07:53:51 +0800
commitd2309f2ab59099bd913cf657a77592ece8330ede (patch)
tree4492348f0fc2f2f777841e744295fae56902705a /shell/e-shell-view-menu.c
parent4216b423202385c6b61ef49c9dbf40012d5e0903 (diff)
downloadgsoc2013-evolution-d2309f2ab59099bd913cf657a77592ece8330ede.tar.gz
gsoc2013-evolution-d2309f2ab59099bd913cf657a77592ece8330ede.tar.zst
gsoc2013-evolution-d2309f2ab59099bd913cf657a77592ece8330ede.zip
Because bugzilla.ximian does have a mail gateway now, we can have
2001-07-12 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (command_submit_bug): Because bugzilla.ximian does have a mail gateway now, we can have Help->Submit Bug Report open up bug-buddy. svn path=/trunk/; revision=11075
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c26
1 files changed, 5 insertions, 21 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 1cffd57a6c..2d7cd8e4a9 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -162,10 +162,8 @@ command_quit (BonoboUIComponent *uih,
e_shell_destroy_all_views (shell);
}
-#if 0
-
static void
-command_run_bugbuddy (BonoboUIComponent *uih,
+command_submit_bug (BonoboUIComponent *uih,
void *data,
const char *path)
{
@@ -177,34 +175,20 @@ command_run_bugbuddy (BonoboUIComponent *uih,
"--package-ver="VERSION,
NULL
};
+
args[0] = gnome_is_program_in_path ("bug-buddy");
if (!args[0]) {
gnome_error_dialog (_("Bug buddy was not found in your $PATH."));
return;
}
+
pid = gnome_execute_async (NULL, 4, args);
g_free (args[0]);
- if (pid == -1) {
- gnome_error_dialog (_("Bug buddy could not be run."));
- }
-}
-
-#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");
+ if (pid == -1)
+ gnome_error_dialog (_("Bug buddy could not be run."));
}
-#endif
-
static void
zero_pointer(GtkObject *object, void **pointer)
{