gtkhtml r8847 - trunk/gtkhtml



Author: sragavan
Date: Mon May 19 03:06:52 2008
New Revision: 8847
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8847&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:
   trunk/gtkhtml/ChangeLog
   trunk/gtkhtml/htmltext.c

Modified: trunk/gtkhtml/htmltext.c
==============================================================================
--- trunk/gtkhtml/htmltext.c	(original)
+++ trunk/gtkhtml/htmltext.c	Mon May 19 03:06:52 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]