[evolution-patches] 41892: the rest of the patch
- From: Mike Kestner <mkestner ximian com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] 41892: the rest of the patch
- Date: 29 Apr 2003 10:26:34 -0500
The patch I committed yesterday fixed most of the problem, but when a
period was entered in a cell, the text after the period was getting
wrapped still because it was acting as a word break. This patch cleans
out the last usage of set_width which should not be called for layouts
in edit mode.
Mike
Index: gal/e-table/ChangeLog
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/ChangeLog,v
retrieving revision 1.888
diff -u -p -r1.888 ChangeLog
--- gal/e-table/ChangeLog 28 Apr 2003 21:03:35 -0000 1.888
+++ gal/e-table/ChangeLog 29 Apr 2003 15:20:20 -0000
@@ -1,3 +1,8 @@
+2003-04-29 Mike Kestner <mkestner ximian com>
+
+ * e-cell-text.c (generate_layout): don't set width on the layout
+ during edit
+
2003-04-28 Mike Kestner <mkestner ximian com>
* e-cell-text.c (build_layout): don't do wrapping during edit
Index: gal/e-table/e-cell-text.c
===================================================================
RCS file: /cvs/gnome/gal/gal/e-table/e-cell-text.c,v
retrieving revision 1.125
diff -u -p -r1.125 e-cell-text.c
--- gal/e-table/e-cell-text.c 28 Apr 2003 21:03:35 -0000 1.125
+++ gal/e-table/e-cell-text.c 29 Apr 2003 15:20:21 -0000
@@ -533,8 +533,6 @@ generate_layout (ECellTextView *text_vie
if (edit && edit->layout && edit->model_col == model_col && edit->row == row) {
g_object_ref (edit->layout);
- if (width > 0)
- pango_layout_set_width (edit->layout, width * PANGO_SCALE);
return edit->layout;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]