aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 7dbf2f595..798946c3e 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2033,9 +2033,10 @@ ephy_web_view_load_error_page (EphyWebView *view,
ephy_web_view_set_title (view, page_title);
_ephy_web_view_set_icon_address (view, NULL);
- g_string_printf (html, template, lang, lang,
+ g_string_printf (html, template,
+ lang, lang,
+ ((gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL) ? "rtl" : "ltr"),
page_title,
- gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL ? "rtl" : "ltr",
uri,
image_data,
msg_title, msg, button_label);