Index: resources.c
===================================================================
--- resources.c	(revision 3787)
+++ resources.c	(working copy)
@@ -276,8 +276,31 @@
 	}
 }
 
-void anjuta_res_url_show (const char *url)
+void anjuta_res_url_show (const gchar *url)
 {
-	GError *error = NULL;
-	gnome_url_show (url, &error);
+	gchar **open;
+	gchar *program;
+	GPtrArray *array;
+
+	if (g_find_program_in_path ("xdg-open"))
+	{
+		program = g_strdup ("xdg-open");
+	}
+	else return;
+	
+	array = g_ptr_array_new ();
+	g_ptr_array_add (array, program);
+	g_ptr_array_add (array, g_strdup (url));
+	
+	open = (gchar **)g_ptr_array_free (array, FALSE);
+					
+	gdk_spawn_on_screen (gdk_screen_get_default (),
+					     NULL,
+					     open,
+					     NULL,
+					     G_SPAWN_SEARCH_PATH,
+					     NULL,
+					     NULL, NULL, NULL);
+					
+	g_strfreev (open);
 }
