[evolution-patches] Re: about #44579
- From: Li Yuan <Li Yuan Sun COM>
- To: Rodrigo Moya <rodrigo novell com>
- Cc: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] Re: about #44579
- Date: Wed, 16 Mar 2005 23:09:52 +0800
Ok, here is the patch.
Rodrigo Moya wrote:
On Mon, 2005-03-07 at 18:26 +0800, Li Yuan wrote:
Hi, Rodrigo
About #44579. I already have a patch for this bug. Attachment is a
print-screen picture.
What's your opinion?
looks good to me, please send the patch to e-patches if you haven't
already.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2689
diff -u -r1.2689 ChangeLog
--- ChangeLog 15 Mar 2005 16:05:06 -0000 1.2689
+++ ChangeLog 16 Mar 2005 15:06:11 -0000
@@ -1,3 +1,9 @@
+2005-03-16 Li Yuan <li yuan sun com>
+
+ * gui/print.c: (print_comp_item):
+
+ Fixes #44579
+
2005-03-15 JP Rosevear <jpr novell com>
* gui/itip-utils.c (itip_send_comp): when publishing, the to_list
Index: gui/print.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/print.c,v
retrieving revision 1.72
diff -u -r1.72 print.c
--- gui/print.c 4 Feb 2005 04:39:35 -0000 1.72
+++ gui/print.c 16 Mar 2005 15:06:17 -0000
@@ -2286,8 +2286,8 @@
ECalComponentVType vtype;
ECalComponentText text;
GSList *desc, *l;
- const char *title, *categories;
- char *categories_string;
+ const char *title, *categories, *location;
+ char *categories_string, *location_string, *summary_string;
GSList *contact_list, *elem;
gint header_size;
@@ -2317,8 +2317,20 @@
/* Summary */
font = get_font_for_size (18, GNOME_FONT_BOLD, FALSE);
e_cal_component_get_summary (comp, &text);
- top = bound_text (pc, font, text.value, left, right,
+ summary_string = g_strdup_printf (_("Summary: %s"), text.value);
+ top = bound_text (pc, font, summary_string, left, right,
top - 3, bottom, 0);
+ g_free (summary_string);
+
+ /* Location */
+ e_cal_component_get_location (comp, &location);
+ if (location && location[0]) {
+ location_string = g_strdup_printf (_("Location: %s"),
+ location);
+ top = bound_text (pc, font, location_string, left, right,
+ top - 3, bottom, 0);
+ g_free (location_string);
+ }
g_object_unref (font);
/* Date information */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]