[evolution-patches] 41892: don't ellipsify during edit



This patch bypasses the wrapping and justification fixes for text cells
that are in edit mode.

Mike
Index: gal/e-table/ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/ChangeLog,v
retrieving revision 1.887
diff -u -p -r1.887 ChangeLog
--- gal/e-table/ChangeLog	22 Apr 2003 18:54:55 -0000	1.887
+++ gal/e-table/ChangeLog	28 Apr 2003 15:13:32 -0000
@@ -1,3 +1,7 @@
+2003-04-28  Mike Kestner  <mkestner ximian com>
+
+	* e-cell-text.c (build_layout): don't do wrapping during edit 
+
 2003-04-21  Mike Kestner  <mkestner ximian com>
 
 	* e-cell-text.c (build_layout): use unicode ellipsis char for 
Index: gal/e-table/e-cell-text.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-cell-text.c,v
retrieving revision 1.124
diff -u -p -r1.124 e-cell-text.c
--- gal/e-table/e-cell-text.c	22 Apr 2003 18:54:55 -0000	1.124
+++ gal/e-table/e-cell-text.c	28 Apr 2003 15:13:33 -0000
@@ -482,6 +482,9 @@ build_layout (ECellTextView *text_view, 
 		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);


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