[evolution/gnome-3-30] Task Location shown as Summary in preview pane
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-30] Task Location shown as Summary in preview pane
- Date: Mon, 1 Oct 2018 16:22:02 +0000 (UTC)
commit 4bc7bf86eb49f6e921c34626c1b749b533796c94
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 1 18:19:43 2018 +0200
Task Location shown as Summary in preview pane
When a task had filled Location, the preview panel showed:
Summary: summary
instead of:
Location: location
It also caused the Summary being shown twice in the preview pane.
src/calendar/gui/e-cal-component-preview.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/gui/e-cal-component-preview.c b/src/calendar/gui/e-cal-component-preview.c
index bb47e36fa0..af8e01758a 100644
--- a/src/calendar/gui/e-cal-component-preview.c
+++ b/src/calendar/gui/e-cal-component-preview.c
@@ -252,10 +252,10 @@ cal_component_preview_write_html (ECalComponentPreview *preview,
/* write location */
e_cal_component_get_location (comp, &location);
- if (location)
+ if (location && *location)
g_string_append_printf (
buffer, "<tr><th>%s</th><td>%s</td></tr>",
- _("Summary:"), text.value);
+ _("Location:"), location);
/* write start date */
e_cal_component_get_dtstart (comp, &dt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]