[evolution-patches] Request for review for patch to bug 44485
- From: Harry Lu <Harry Lu Sun COM>
- To: evolution-patches ximian com
- Subject: [evolution-patches] Request for review for patch to bug 44485
- Date: 11 Jun 2003 18:02:01 +0800
Hi! Calendar maintainers,
Here is a patch for bug 44485. Please review it. This bug happens on
Suse SLEC RC1 + SUN GNOME 2.2. I think it is related to gettext. Sorry I
don't know the detail.
Thanks!
Harry
Index: evolution/calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1789
diff -u -r1.1789 ChangeLog
--- evolution/calendar/ChangeLog 4 Jun 2003 15:07:13 -0000 1.1789
+++ evolution/calendar/ChangeLog 11 Jun 2003 08:47:34 -0000
@@ -1,3 +1,12 @@
+2003-06-11 Harry Lu <harry lu sun com>
+
+ Fixes #44485
+
+ * gui/e-timezone-entry.c (e_timezone_entry_set_entry): pass a
+ new allocated string to gtk_entry_set_text instead of the one
+ that might come from gettext.
+
+
2003-06-04 Rodrigo Moya <rodrigo ximian com>
* pcs/query.c (start_cached_query_cb): adapted to changes in
Index: evolution/calendar/gui/e-timezone-entry.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-timezone-entry.c,v
retrieving revision 1.19
diff -u -r1.19 e-timezone-entry.c
--- evolution/calendar/gui/e-timezone-entry.c 22 Apr 2003 21:15:40 -0000 1.19
+++ evolution/calendar/gui/e-timezone-entry.c 11 Jun 2003 08:47:36 -0000
@@ -269,6 +269,7 @@
{
ETimezoneEntryPrivate *priv;
const char *display_name;
+ char *name_buffer;
priv = tentry->priv;
@@ -284,11 +285,15 @@
} else
display_name = "";
- gtk_entry_set_text (GTK_ENTRY (priv->entry), display_name);
+ name_buffer = g_strdup (display_name);
+
+ gtk_entry_set_text (GTK_ENTRY (priv->entry), name_buffer);
if (!priv->default_zone || (priv->zone != priv->default_zone))
gtk_widget_show (priv->entry);
else
gtk_widget_hide (priv->entry);
+
+ g_free (name_buffer);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]