Re: [evolution-patches] 41498: use unicode ellipsis and fix for tight loop on small cells
- From: Mike Kestner <mkestner ximian com>
- To: Not Zed <notzed ximian com>
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] 41498: use unicode ellipsis and fix for tight loop on small cells
- Date: 24 Apr 2003 10:16:24 -0500
The patch too this time.
On Thu, 2003-04-24 at 10:15, Mike Kestner wrote:
> On Wed, 2003-04-23 at 21:55, Not Zed wrote:
> > They dont here! See attached picture!
> >
> > If anything is too wide to fit, i get that mess, at least from cvs of
> > about 20 hours ago.
>
> My only guess is pango barfs on unicode ellipsis chars with your font
> setup. Does this "patch" fix things?
>
> Mike
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 24 Apr 2003 14:59:41 -0000
@@ -498,7 +498,11 @@ build_layout (ECellTextView *text_view,
last_char = g_utf8_find_prev_char (line_text, last_char);
if (last_char)
*last_char = '\0';
+#if 0
new_text = g_strconcat (line_text, ellipsis, NULL);
+#else
+ new_text = g_strconcat (line_text, "...", NULL);
+#endif
pango_layout_set_text (layout, new_text, -1);
g_free (new_text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]