aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-04-29 05:03:35 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-04-29 05:03:35 +0800
commit5283d07d8138094f6bbb25099e58000dbf9b49a2 (patch)
treeb11111ca505aa9bd280a1cbadd4c3d099d7f23d5 /widgets
parent8f52c9c406a83a041ae124def46c18b7ee6b6148 (diff)
downloadgsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.tar
gsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.tar.gz
gsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.tar.bz2
gsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.tar.lz
gsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.tar.xz
gsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.tar.zst
gsoc2013-evolution-5283d07d8138094f6bbb25099e58000dbf9b49a2.zip
don't do wrapping during edit
2003-04-28 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): don't do wrapping during edit svn path=/trunk/; revision=20995
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-cell-text.c3
1 files changed, 3 insertions, 0 deletions
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);