From 5283d07d8138094f6bbb25099e58000dbf9b49a2 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Mon, 28 Apr 2003 21:03:35 +0000 Subject: don't do wrapping during edit 2003-04-28 Mike Kestner * e-cell-text.c (build_layout): don't do wrapping during edit svn path=/trunk/; revision=20995 --- widgets/table/e-cell-text.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets/table/e-cell-text.c') diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 8bfcf384d0..43df53e378 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -482,6 +482,9 @@ build_layout (ECellTextView *text_view, int row, const char *text, gint width) pango_attr_list_unref (attrs); } + if (text_view->edit) + return layout; + if (width > 0) pango_layout_set_width (layout, width * PANGO_SCALE); pango_layout_set_wrap (layout, PANGO_WRAP_CHAR); -- cgit