diff options
Diffstat (limited to 'plugins/mailing-list-actions/mailing-list-actions.c')
-rw-r--r-- | plugins/mailing-list-actions/mailing-list-actions.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c index 9772fc22e4..9dd5c1c57e 100644 --- a/plugins/mailing-list-actions/mailing-list-actions.c +++ b/plugins/mailing-list-actions/mailing-list-actions.c @@ -29,7 +29,6 @@ #include <string.h> #include <gtk/gtk.h> #include <gconf/gconf-client.h> -#include <libgnome/gnome-url.h> #include "camel/camel-multipart.h" #include "camel/camel-mime-part.h" @@ -44,6 +43,7 @@ #include "mail/mail-ops.h" #include "mail/mail-mt.h" #include "mail/mail-config.h" +#include "e-util/e-util.h" #include "e-util/e-error.h" typedef enum { @@ -170,11 +170,9 @@ void emla_list_action_do (CamelFolder *folder, const char *uid, CamelMimeMessage goto exit; } else { - GError *err = NULL; - gnome_url_show (url, &err); - if (!err) - goto exit; - g_error_free (err); + /* FIXME Pass a parent window. */ + e_show_uri (NULL, url); + goto exit; } g_free (url); url = NULL; |