]> spindle.queued.net Git - midori/commitdiff
Don't do LRE title trick on Win32, it doesn't work as expected
authorChristian Dywan <christian@twotoasts.de>
Mon, 20 Jul 2009 05:49:04 +0000 (07:49 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 20 Jul 2009 05:49:04 +0000 (07:49 +0200)
midori/midori-view.c

index 58cbf9084cf000ae68890bf468a9c32ff00d46dc..845c2537a861915b86792464d7278b9134ca2652 100644 (file)
@@ -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)
     {