[evolution] I#1179 - Calendar: Import may prefer "is instance" over "repeats" info
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#1179 - Calendar: Import may prefer "is instance" over "repeats" info
- Date: Mon, 26 Oct 2020 14:15:23 +0000 (UTC)
commit a3a644a9b042398ae6516452b0fed123e0e1e21d
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 26 15:14:33 2020 +0100
I#1179 - Calendar: Import may prefer "is instance" over "repeats" info
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1179
src/calendar/importers/icalendar-importer.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/calendar/importers/icalendar-importer.c b/src/calendar/importers/icalendar-importer.c
index 837c2c111a..91ddc704ed 100644
--- a/src/calendar/importers/icalendar-importer.c
+++ b/src/calendar/importers/icalendar-importer.c
@@ -1272,14 +1272,12 @@ preview_comp (EWebViewPreview *preview,
}
have = FALSE;
- if (e_cal_component_has_recurrences (comp)) {
- e_web_view_preview_add_section (preview, /*have ? NULL :*/ str, C_("iCalImp", "has
recurrences"));
- have = TRUE;
- }
-
if (e_cal_component_is_instance (comp)) {
e_web_view_preview_add_section (preview, have ? NULL : str, C_("iCalImp", "is an instance"));
have = TRUE;
+ } else if (e_cal_component_has_recurrences (comp)) {
+ e_web_view_preview_add_section (preview, /*have ? NULL :*/ str, C_("iCalImp", "has
recurrences"));
+ have = TRUE;
}
if (e_cal_component_has_alarms (comp)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]