Don't do LRE title trick on Win32, it doesn't work as expected

This commit is contained in:
Christian Dywan 2009-07-20 07:49:04 +02:00
parent 021a892678
commit 143ec96581

View file

@ -522,6 +522,7 @@ midori_view_class_init (MidoriViewClass* class)
static void static void
midori_view_update_title (MidoriView* view) midori_view_update_title (MidoriView* view)
{ {
#ifndef G_OS_WIN32
/* If left-to-right text is combined with right-to-left text the default /* 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 behaviour of Pango can result in awkwardly aligned text. For example
"‪بستيان نوصر (hadess) | An era comes to an end - Midori" becomes "‪بستيان نوصر (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); gchar* new_title = g_strconcat ("", view->title, NULL);
katze_assign (view->title, new_title); katze_assign (view->title, new_title);
} }
#endif
#define title midori_view_get_display_title (view) #define title midori_view_get_display_title (view)
if (view->tab_label) if (view->tab_label)
{ {