[evolution-patches] Patch to fix the string break in gnome-2-10 branch
- From: Harry Lu <Harry Lu Sun COM>
- To: evolution-patches <evolution-patches ximian com>, JP Rosevear <jpr novell com>
- Subject: [evolution-patches] Patch to fix the string break in gnome-2-10 branch
- Date: Thu, 24 Mar 2005 11:07:13 +0800
JP,
Attached is the patch to fix the problem. Please review it. It is
just for gnome-2-10 branch.
Thanks!
Harry
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2680.2.10
diff -u -r1.2680.2.10 ChangeLog
--- ChangeLog 21 Mar 2005 09:08:17 -0000 1.2680.2.10
+++ ChangeLog 24 Mar 2005 03:04:21 -0000
@@ -1,3 +1,10 @@
+2005-03-24 Harry Lu <harry lu sun com>
+
+ Fix a string break by 44579's patch.
+
+ * gui/print.c: (print_comp_item): split the strings to
+ reuse existing strings.
+
2005-03-16 Li Yuan <li yuan sun com>
* gui/print.c: (print_comp_item):
Index: gui/print.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/print.c,v
retrieving revision 1.72.2.1
diff -u -r1.72.2.1 print.c
--- gui/print.c 21 Mar 2005 09:08:18 -0000 1.72.2.1
+++ gui/print.c 24 Mar 2005 03:04:41 -0000
@@ -2317,7 +2317,7 @@
/* Summary */
font = get_font_for_size (18, GNOME_FONT_BOLD, FALSE);
e_cal_component_get_summary (comp, &text);
- summary_string = g_strdup_printf (_("Summary: %s"), text.value);
+ summary_string = g_strdup_printf (("%s %s"), _("Summary:"), text.value);
top = bound_text (pc, font, summary_string, left, right,
top - 3, bottom, 0);
g_free (summary_string);
@@ -2325,7 +2325,8 @@
/* Location */
e_cal_component_get_location (comp, &location);
if (location && location[0]) {
- location_string = g_strdup_printf (_("Location: %s"),
+ location_string = g_strdup_printf (("%s %s"),
+ _("Location:"),
location);
top = bound_text (pc, font, location_string, left, right,
top - 3, bottom, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]