From: Christian Dywan Date: Mon, 20 Jul 2009 05:49:04 +0000 (+0200) Subject: Don't do LRE title trick on Win32, it doesn't work as expected X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=143ec965819f8b3e539bdc9b775b988f28c83717;p=midori Don't do LRE title trick on Win32, it doesn't work as expected --- 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) {