[evolution/gnome-3-26] Cannot change organizer of existing meeting
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-26] Cannot change organizer of existing meeting
- Date: Tue, 19 Sep 2017 11:44:01 +0000 (UTC)
commit e48443be9bf5524da34a444b4f5a88352868dd16
Author: Milan Crha <mcrha redhat com>
Date: Tue Sep 19 13:42:35 2017 +0200
Cannot change organizer of existing meeting
Users can change organizer both when the editor has opened a new meeting
or when they are organizers.
src/calendar/gui/e-comp-editor-page-general.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/gui/e-comp-editor-page-general.c b/src/calendar/gui/e-comp-editor-page-general.c
index 8d5b1b8..971acc8 100644
--- a/src/calendar/gui/e-comp-editor-page-general.c
+++ b/src/calendar/gui/e-comp-editor-page-general.c
@@ -936,7 +936,7 @@ ecep_general_fill_component (ECompEditorPage *page,
comp_editor = e_comp_editor_page_ref_editor (page);
flags = e_comp_editor_get_flags (comp_editor);
- if ((flags & E_COMP_EDITOR_FLAG_IS_NEW) != 0 &&
+ if ((flags & (E_COMP_EDITOR_FLAG_IS_NEW | E_COMP_EDITOR_FLAG_ORGANIZER_IS_USER)) != 0 &&
!ecep_general_get_organizer (page_general, NULL, NULL)) {
e_comp_editor_set_validation_error (comp_editor, page,
page_general->priv->organizer_combo_box,
@@ -958,7 +958,7 @@ ecep_general_fill_component (ECompEditorPage *page,
}
/* Organizer */
- if ((flags & E_COMP_EDITOR_FLAG_IS_NEW) != 0 &&
+ if ((flags & (E_COMP_EDITOR_FLAG_IS_NEW | E_COMP_EDITOR_FLAG_ORGANIZER_IS_USER)) != 0 &&
ecep_general_get_organizer (page_general, &organizer_name, &organizer_mailto)) {
const gchar *cal_email_address;
icalparameter *param;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]