gtkhtml r8848 - branches/gnome-2-22/gtkhtml



Author: sragavan
Date: Mon May 19 03:10:14 2008
New Revision: 8848
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8848&view=rev

Log:
2008-05-19  Srinivasa Ragavan  <sragavan novell com>

	** Fix for bug #524338

	* gtkhtml/htmltext.c: Reverting the fix for bug #342659 which caused
	the fickering.




Modified:
   branches/gnome-2-22/gtkhtml/ChangeLog
   branches/gnome-2-22/gtkhtml/htmltext.c

Modified: branches/gnome-2-22/gtkhtml/htmltext.c
==============================================================================
--- branches/gnome-2-22/gtkhtml/htmltext.c	(original)
+++ branches/gnome-2-22/gtkhtml/htmltext.c	Mon May 19 03:10:14 2008
@@ -1196,13 +1196,8 @@
 	HTMLClueFlow *flow = NULL;
 	HTMLEngine *e = NULL;
 	PangoAttribute *attr;
-	PangoDirection dir,org_dir;
 
 	attrs = pango_attr_list_new ();
-	org_dir = pango_context_get_base_dir (painter->pango_context);
-	dir = html_text_get_pango_direction (text);
-	if (org_dir != dir)
-		pango_context_set_base_dir (painter->pango_context, dir);
 
 
 	if (HTML_OBJECT (text)->parent && HTML_IS_CLUEFLOW (HTML_OBJECT (text)->parent))
@@ -1213,11 +1208,6 @@
 
 	if (flow && e) {
 		html_text_add_cite_color (attrs, text, flow, e);
-		if (org_dir != dir) {
-			html_engine_freeze (e);
-                	flow->dir = html_text_direction_pango_to_html (dir);
-                	html_engine_thaw(e);
-		}
         }
 
 



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