[evolution-patches] [gtkhtml] table cell padding fix




Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/ChangeLog,v
retrieving revision 1.2107
diff -u -p -r1.2107 ChangeLog
--- ChangeLog	16 Mar 2005 07:47:58 -0000	1.2107
+++ ChangeLog	21 Mar 2005 12:36:01 -0000
@@ -1,3 +1,8 @@
+2005-03-21  Radek Doulik  <rodo novell com>
+
+	* htmlengine.c (element_parse_cell): set padding to the style
+	applied on newly created cell
+
 2005-03-15  Radek Doulik  <rodo novell com>
 
 	* htmltext.c (prepare_attrs): add size attributes in case
Index: htmlengine.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/src/htmlengine.c,v
retrieving revision 1.630
diff -u -p -r1.630 htmlengine.c
--- htmlengine.c	11 Mar 2005 15:16:10 -0000	1.630
+++ htmlengine.c	21 Mar 2005 12:36:51 -0000
@@ -3352,6 +3352,7 @@ element_parse_cell (HTMLEngine *e, HTMLO
 	cell = HTML_TABLE_CELL (html_table_cell_new (rowSpan, colSpan, table->padding));
 
  	html_element_set_coreattr_to_object (element, HTML_OBJECT (cell), e);
+	html_style_set_padding (element->style, table->padding);
 	html_cluev_set_style (HTML_CLUEV (cell), element->style);
 
 	cell->no_wrap = no_wrap;


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