summaryrefslogtreecommitdiff
path: root/src/yelp-view-content.c
diff options
context:
space:
mode:
authorMikael Hallendal <micke@codefactory.se>2002-04-14 12:27:36 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-04-14 12:27:36 +0000
commit7d3e0a5ceab87bb380f759d4a5fc30007d7a2c64 (patch)
treed616721b3478204ab22c8fb93799c183b0423d1c /src/yelp-view-content.c
parent0d6b1389678a041d214862e665a200a19cb655d9 (diff)
downloadyelp-7d3e0a5ceab87bb380f759d4a5fc30007d7a2c64.tar.gz
If error is set during set_uri, popup an error-dialog describing the
2002-04-14 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c (yw_handle_url): If error is set during set_uri, popup an error-dialog describing the error. * src/yelp-html.c: - Added support for GError's * src/yelp-view-index.c: same. * src/yelp-view-content.c: same. * src/yelp-db2html.c: - Include gnome-i18n.h - Mark the error messages for translation.
Diffstat (limited to 'src/yelp-view-content.c')
-rw-r--r--src/yelp-view-content.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/yelp-view-content.c b/src/yelp-view-content.c
index 4961f3f5..a5623663 100644
--- a/src/yelp-view-content.c
+++ b/src/yelp-view-content.c
@@ -279,8 +279,9 @@ yelp_view_content_set_tree (YelpViewContent *content,
}
void
-yelp_view_content_show_uri (YelpViewContent *content,
- const gchar *url)
+yelp_view_content_show_uri (YelpViewContent *content,
+ const gchar *url,
+ GError **error)
{
YelpViewContentPriv *priv;
gchar *content_url;
@@ -343,7 +344,7 @@ yelp_view_content_show_uri (YelpViewContent *content,
content_url = (char *) url;
}
- yelp_html_open_uri (priv->html_view, content_url, NULL);
+ yelp_html_open_uri (priv->html_view, content_url, NULL, error);
if (content_url != url) {
g_free (content_url);