[gnome-cyr] Re: [Evolution-hackers] Re: fixing the Evolution (fwd)



 Ура, товарищи!

 Best regards,
  -Vlad

---------- Forwarded message ----------
Date: Wed, 22 Aug 2001 17:39:35 +0200
From: Zbigniew Chyla <cyba gnome pl>
Cc: evolution-hackers ximian com, gal-hackers ximian com
To: Vlad Harchev <hvv hippo ru>
Subject: Re: [Evolution-hackers] Re: fixing the Evolution
User-Agent: Mutt/1.3.20i

On Tue, 2001-08-21 at 14:50:12, Zbigniew Chyla wrote:

> (...)
> Fixing this is very important, because Evolution has _tons_ on i18n problems
> caused by incorrect conversion from UTF-8 to GTK+ encoding.

I've just commited a trivial patch to GAL (attached). At least the following
Evolution bugs should be fixed now:
7036, 7038, 7636, 6621, 7652, 7649, 6251.


Zbigniew
diff -rup --exclude=intl --exclude=po /home/cyba/gcvs/gal/ChangeLog gal/ChangeLog
--- /home/cyba/gcvs/gal/ChangeLog	Wed Aug 22 10:06:37 2001
+++ gal/ChangeLog	Wed Aug 22 16:52:25 2001
@@ -1,1 +1,8 @@
+2001-08-22  Zbigniew Chyla  <cyba gnome pl>
+
+	This patch fixes a lot of i18n problems in Evolution.
+
+	* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
+	Call gtk_widget_ensure_style before refering to widget's style.
+
 
diff -rup --exclude=intl --exclude=po /home/cyba/gcvs/gal/gal/widgets/e-unicode.c gal/gal/widgets/e-unicode.c
--- /home/cyba/gcvs/gal/gal/widgets/e-unicode.c	Wed Aug  8 16:57:25 2001
+++ gal/gal/widgets/e-unicode.c	Wed Aug 22 16:39:28 2001
@@ -315,6 +315,7 @@ e_utf8_to_gtk_string_sized (GtkWidget *w
 
 	g_return_val_if_fail (widget, NULL);
 
+	gtk_widget_ensure_style (widget);
 	ic = e_iconv_to_gdk_font (widget->style->font);
 	if (ic == (iconv_t) -1) {
 		XFontStruct *xfs;


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