From 143ec965819f8b3e539bdc9b775b988f28c83717 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 20 Jul 2009 07:49:04 +0200 Subject: [PATCH] Don't do LRE title trick on Win32, it doesn't work as expected --- midori/midori-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index 58cbf908..845c2537 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -522,6 +522,7 @@ midori_view_class_init (MidoriViewClass* class) static void midori_view_update_title (MidoriView* view) { + #ifndef G_OS_WIN32 /* If left-to-right text is combined with right-to-left text the default behaviour of Pango can result in awkwardly aligned text. For example "‪بستيان نوصر (hadess) | An era comes to an end - Midori" becomes @@ -533,6 +534,7 @@ midori_view_update_title (MidoriView* view) gchar* new_title = g_strconcat ("‪", view->title, NULL); katze_assign (view->title, new_title); } + #endif #define title midori_view_get_display_title (view) if (view->tab_label) {