+ a_dialog_error_msg ( parent, _("Could not launch web browser.") );
+#endif /* WINDOWS */
+}
+
+void new_email(GtkWindow *parent, const gchar * address)
+{
+ gchar *uri = g_strdup_printf("mailto:%s", address);
+#ifdef WINDOWS
+ ShellExecute(NULL, NULL, (char *) uri, NULL, ".\\", 0);
+#else /* WINDOWS */
+ if (!spawn_command_line_async("xdg-email", uri))
+ a_dialog_error_msg ( parent, _("Could not create new email.") );