1 $NetBSD: patch-ad,v 1.1 2010/02/13 12:26:15 tnn Exp $
3 http://git.gnome.org/browse/yelp/commit/?id=a5588114ed94d00ca64913aa5b248e09a5e13edc
5 --- src/yelp-window.c.orig 2009-11-19 17:09:56.000000000 +0000
7 @@ -1854,14 +1854,21 @@ html_uri_selected_cb (YelpHtml *html,
11 + gchar *new_uri = uri;
12 YelpWindow *window = YELP_WINDOW (user_data);
14 debug_print (DB_FUNCTION, "entering\n");
15 debug_print (DB_ARG, " uri = \"%s\"\n", uri);
17 + if (g_str_has_prefix (uri, "xref:"))
18 + new_uri = g_strconcat (window->priv->base_uri, "#", uri + 5, NULL);
21 - yelp_window_load (window, uri);
22 + yelp_window_load (window, new_uri);