diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/about/marquee.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/about/marquee.c b/src/about/marquee.c index ce8beea..8fd2c41 100644 --- a/src/about/marquee.c +++ b/src/about/marquee.c @@ -28,7 +28,7 @@ const gchar *document = "<!doctype html>" - "<html>" + "<html dir=\"%s\">" "<head>" "<title>%s</title>" "</head>" @@ -53,6 +53,8 @@ mq_about_marquee_response(MqApplication *application, GHashTable *query, mq_about_redirect(request, "mq-about:marquee"); } else { mq_about_response(request, g_strdup_printf(document, - "DANGER", "DO NOT PRESS")); + gtk_widget_get_default_direction() == + GTK_TEXT_DIR_RTL ? "rtl" : "ltr", + "DANGER", "DO NOT PRESS")); } } |