-#else /* WINDOWS */
- const gchar *browsers[] = {
- "xdg-open", "gnome-open", "kfmclient openURL",
- "sensible-browser", "firefox", "epiphany",
- "iceweasel", "seamonkey", "galeon", "mozilla",
- "opera", "konqueror", "netscape", "links -g",
- "chromium-browser", "chromium", "chrome",
- "safari", "camino", "omniweb", "icab",
- NULL
- };
- gint i=0;
-
- const gchar *browser = g_getenv("BROWSER");
- if (browser == NULL || browser[0] == '\0') {
- /* $BROWSER not set -> use first entry */
- browser = browsers[i++];
+#else
+ GError *error = NULL;
+ gtk_show_uri ( gtk_widget_get_screen (GTK_WIDGET(parent)), url, GDK_CURRENT_TIME, &error );
+ if ( error ) {
+ a_dialog_error_msg_extra ( parent, _("Could not launch web browser. %s"), error->message );
+ g_error_free ( error );