[evolution-patches] A patch for calendar based on trunk



Hi,

This patch is aimed for trunk. We have found a bug in calendar which can be reproduced as follows:
1. Invoke evolution on Japanese locales.
2. Choose [File] -> [New] -> [Appointment].
3. Select [Appointment] tab.
4. Choose an arrow button in "Start time" or "End time".

Then Japanese "01:00 AM" is longer than the text box, so the string is shifted left.

Enclosed is the snapshot and a patch to fix that. Would you like to spend a little time to review it?

Best regards
Index: widgets/misc/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.275
diff -u -r1.275 ChangeLog
--- widgets/misc/ChangeLog	26 Feb 2004 22:20:15 -0000	1.275
+++ widgets/misc/ChangeLog	1 Mar 2004 06:57:54 -0000
@@ -1,3 +1,8 @@
+2004-03-01  Kidd Wang  <kidd wang sun com>
+
+	* e-dateedit.c: (create_children): enlarge the text box to accomodate
+	the time info in Japanese locales.
+
 2004-02-26  Rodney Dawes  <dobey ximian com>
 
 	* e-cell-renderer-combo.c (ecrc_get_size):
Index: widgets/misc/e-dateedit.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-dateedit.c,v
retrieving revision 1.39
diff -u -r1.39 e-dateedit.c
--- widgets/misc/e-dateedit.c	26 Feb 2004 22:20:15 -0000	1.39
+++ widgets/misc/e-dateedit.c	1 Mar 2004 06:57:56 -0000
@@ -354,7 +354,7 @@
 
 
 	priv->time_combo = gtk_combo_new ();
-	gtk_widget_set_size_request (GTK_COMBO (priv->time_combo)->entry, 90, -1);
+	gtk_widget_set_size_request (GTK_COMBO (priv->time_combo)->entry, 100, -1);
 	gtk_box_pack_start (GTK_BOX (dedit), priv->time_combo, FALSE, TRUE, 0);
 	rebuild_time_popup (dedit);
 

PNG image



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