[gtkhtml] Bug #463936 (bnc) - Table insertion issues.
- From: Bharath Acharya <abharath src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Bug #463936 (bnc) - Table insertion issues.
- Date: Wed, 8 Sep 2010 10:27:05 +0000 (UTC)
commit 54962d6860ab34a831d62a91d947afcc96d43d11
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Wed Sep 8 15:56:48 2010 +0530
Bug #463936 (bnc) - Table insertion issues.
Table inserted before existing text reformat text at end of line.
Sets the default alignment to centre. This way, the text entered is not moved.
gtkhtml/htmlengine-edit-table.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtkhtml/htmlengine-edit-table.c b/gtkhtml/htmlengine-edit-table.c
index 074c635..3610761 100644
--- a/gtkhtml/htmlengine-edit-table.c
+++ b/gtkhtml/htmlengine-edit-table.c
@@ -90,6 +90,7 @@ html_engine_insert_table_1_1 (HTMLEngine *e)
html_engine_append_object (e, table, 2);
html_cursor_backward (e->cursor, e);
+ html_engine_table_set_align (e, table, HTML_HALIGN_CENTER);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]