[epiphany] about-handler: Align correctly the about page of incognito mode in RTL



commit 9ba58a92a58d087dcb6b52c1ab727a81938cff4d
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Mon Jan 6 15:53:27 2014 +0200

    about-handler: Align correctly the about page of incognito mode in RTL
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721363

 embed/ephy-about-handler.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index d04faac..c89d3bb 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -437,6 +437,7 @@ ephy_about_handler_handle_incognito (EphyAboutHandler *handler,
   }
 
   data = g_strdup_printf ("<html>\n"                                   \
+                          "<div dir=\"%s\">\n"                         \
                           "<head>\n"                                   \
                           "<title>%s</title>\n"                        \
                           "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />" \
@@ -450,7 +451,9 @@ ephy_about_handler_handle_incognito (EphyAboutHandler *handler,
                           "    </div>\n"                               \
                           "  </div>\n"                                 \
                           "</body>\n"                                  \
+                          "</div>\n"                                   \
                           "</html>\n",
+                          gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL ? "rtl" : "ltr",
                           _("Private Browsing"),
                           ephy_about_handler_get_style_sheet (handler),
                           img_data_base64 ? img_data_base64 : "",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]