[evolution/gnome-3-32] I#336 - Change on an existing attendee not recognized by a meeting editor
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-32] I#336 - Change on an existing attendee not recognized by a meeting editor
- Date: Mon, 11 Mar 2019 10:30:29 +0000 (UTC)
commit d251a71bde6c1caff838d4c461beb4b8dc651af5
Author: Milan Crha <mcrha redhat com>
Date: Mon Mar 11 11:30:13 2019 +0100
I#336 - Change on an existing attendee not recognized by a meeting editor
Closes https://gitlab.gnome.org/GNOME/evolution/issues/336
src/calendar/gui/e-comp-editor-page-general.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/src/calendar/gui/e-comp-editor-page-general.c b/src/calendar/gui/e-comp-editor-page-general.c
index 41bb54794c..538aee1802 100644
--- a/src/calendar/gui/e-comp-editor-page-general.c
+++ b/src/calendar/gui/e-comp-editor-page-general.c
@@ -481,6 +481,22 @@ ecep_general_attendee_added_cb (EMeetingListView *meeting_list_view,
g_clear_object (&comp_editor);
}
+static void
+ecep_general_attendee_row_changed_cb (GtkTreeModel *model,
+ GtkTreePath *path,
+ GtkTreeIter *iter,
+ ECompEditorPageGeneral *page_general)
+{
+ ECompEditor *comp_editor;
+
+ comp_editor = e_comp_editor_page_ref_editor (E_COMP_EDITOR_PAGE (page_general));
+
+ if (comp_editor)
+ e_comp_editor_set_changed (comp_editor, TRUE);
+
+ g_clear_object (&comp_editor);
+}
+
static gboolean
ecep_general_get_organizer (ECompEditorPageGeneral *page_general,
gchar **out_name,
@@ -1481,6 +1497,9 @@ ecep_general_constructed (GObject *object)
g_signal_connect (page_general->priv->attendees_list_view, "attendee-added",
G_CALLBACK (ecep_general_attendee_added_cb), page_general);
+ g_signal_connect (page_general->priv->meeting_store, "row-changed",
+ G_CALLBACK (ecep_general_attendee_row_changed_cb), page_general);
+
g_signal_connect (page_general->priv->attendees_list_view, "event",
G_CALLBACK (ecep_general_list_view_event_cb), page_general);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]