aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/e-shell-view-menu.c26
2 files changed, 13 insertions, 22 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 19dde10229..2a6293c485 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,6 +1,13 @@
+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.
+
2001-07-12 Iain Holmes <iain@ximian.com>
- * importers/intelligent.c (create_gui): Remove the g_warnings as they are an annoying red herring
+ * importers/intelligent.c (create_gui): Remove the g_warnings as
+ they are an annoying red herring
2001-07-12 Dan Winship <danw@ximian.com>
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)
{