[yelp] yelp-uri: Set fulluri correct for xref: in help: URIs, #658023
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] yelp-uri: Set fulluri correct for xref: in help: URIs, #658023
- Date: Fri, 2 Sep 2011 02:18:51 +0000 (UTC)
commit c5f0c871ed0d417b1629769e8471bd948962badb
Author: Shaun McCance <shaunm gnome org>
Date: Thu Sep 1 22:25:39 2011 -0400
yelp-uri: Set fulluri correct for xref: in help: URIs, #658023
libyelp/yelp-uri.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c
index b5ff304..63b550e 100644
--- a/libyelp/yelp-uri.c
+++ b/libyelp/yelp-uri.c
@@ -1167,6 +1167,13 @@ resolve_xref_uri (YelpUri *uri)
priv->frag_id ? "#" : "",
priv->frag_id ? priv->frag_id : "",
NULL);
+ else if (g_str_has_prefix (priv->docuri, "help:"))
+ priv->fulluri = g_strconcat (priv->docuri,
+ priv->page_id ? "/" : "",
+ priv->page_id ? priv->page_id : "",
+ priv->frag_id ? "#" : "",
+ priv->frag_id ? priv->frag_id : "",
+ NULL);
else if (g_str_has_prefix (priv->docuri, "file:") ||
g_str_has_prefix (priv->docuri, "info:") )
priv->fulluri = g_strconcat (priv->docuri,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]