aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-window-commands.c14
2 files changed, 10 insertions, 9 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index eed506e83f..ec2a0ca6aa 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-11 Matthew Barnes <mbarnes@redhat.com>
+
+ * e-shell-window-commands.c (command_open_faq):
+ Call e_show_uri() instead of gnome_url_show().
+
2009-01-10 Matthew Barnes <mbarnes@redhat.com>
* e-shell.c:
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index 65273f8ad3..609e7c79b3 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -29,7 +29,6 @@
#include <libgnome/gnome-exec.h>
#include <glib/gi18n.h>
-#include <libgnome/gnome-url.h>
#include <gio/gio.h>
@@ -43,6 +42,7 @@
#include "e-util/e-error.h"
#include "e-util/e-icon-factory.h"
#include "e-util/e-print.h"
+#include "e-util/e-util.h"
#include "e-util/e-util-private.h"
#include "e-shell-window-commands.h"
@@ -963,15 +963,11 @@ command_open_faq (BonoboUIComponent *uih,
EShellWindow *window,
const char *path)
{
- GError *error = NULL;
+ const gchar *uri;
- gnome_url_show ("http://www.go-evolution.org/FAQ", &error);
- if (error != NULL) {
- e_notice (NULL, GTK_MESSAGE_ERROR,
- _("Error opening the FAQ webpage."));
- g_error_free (error);
- }
- }
+ uri = "http://www.go-evolution.org/FAQ";
+ e_show_uri (GTK_WINDOW (window), uri);
+}
static void
command_quick_reference (BonoboUIComponent *uih,