diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-05-10 16:04:03 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-05-13 17:41:25 -0500 |
commit | 24e5ad1546ab7daea079eb042ad3a71a45a6f48c (patch) | |
tree | 75fe339eae9b6b5e587244e67ce4ca1bea0df5b1 /libyelp/yelp-uri.c | |
parent | 1134e857f161a7cbefcdf7e1ac6bd86cd2095c25 (diff) | |
download | yelp-24e5ad1546ab7daea079eb042ad3a71a45a6f48c.tar.gz |
[libyelp] Better handling of plain text documents
Diffstat (limited to 'libyelp/yelp-uri.c')
-rw-r--r-- | libyelp/yelp-uri.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c index e59494ed..58d137eb 100644 --- a/libyelp/yelp-uri.c +++ b/libyelp/yelp-uri.c @@ -1164,6 +1164,9 @@ resolve_gfile (YelpUri *uri, const gchar *hash) if (priv->frag_id == NULL) priv->frag_id = g_strdup (hash); } + else if (g_str_equal (mime_type, "text/x-readme")) { + priv->tmptype = YELP_URI_DOCUMENT_TYPE_TEXT; + } else { priv->tmptype = YELP_URI_DOCUMENT_TYPE_EXTERNAL; } |