[evolution-patches] patch for 43558
- From: Suresh Chandrasekharan <suresh chandrasekharan sun com>
- To: evolution-patches ximian com, sceri-evolution sun com
- Subject: [evolution-patches] patch for 43558
- Date: Mon, 28 Jul 2003 18:16:18 -0700
Hi ,
Pl. evaluate and apply the evolution patch for "43558
Appointment Editor always gives time validation error for apptmnts for
non-UTF-8 non ASCII locales."
This can be applied to both the head the evolution-1-4-branch.
Thanks,
Suresh
? .e-dateedit.c.swp
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.228.2.1
diff -u -r1.228.2.1 ChangeLog
--- ChangeLog 9 Jul 2003 19:49:43 -0000 1.228.2.1
+++ ChangeLog 29 Jul 2003 01:38:35 -0000
@@ -1,3 +1,9 @@
+2003-07-28 Suresh Chandrasekharan <suresh chandrasekharan sun com>
+
+ * e-dateedit.c (e_date_edit_check_time_changed): Fixes #43558
+ Appointment Editor always gives time validation error for apptmnts in
+ non UTF-8/non ASCII locales.
+
2003-07-09 Federico Mena Quintero <federico ximian com>
* e-url-entry.c (destroy): Chain to the parent handler. Fixes #45236.
Index: e-dateedit.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-dateedit.c,v
retrieving revision 1.34
diff -u -r1.34 e-dateedit.c
--- e-dateedit.c 30 May 2003 17:32:31 -0000 1.34
+++ e-dateedit.c 29 Jul 2003 01:38:36 -0000
@@ -1734,7 +1734,7 @@
time_text = gtk_entry_get_text (GTK_ENTRY (GTK_COMBO (priv->time_combo)->entry));
if (field_set_to_none (time_text))
none = TRUE;
- else if (!e_date_edit_parse_time (dedit, time_text, &tmp_tm))
+ else if (!e_date_edit_parse_time (dedit, e_utf8_to_locale_string(time_text), &tmp_tm))
valid = FALSE;
time_changed = e_date_edit_set_time_internal (dedit, valid, none,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]