diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-06-07 05:05:18 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-06-07 05:05:18 +0800 |
commit | 9f5a04beb4ce18da2609e93adbb625a51c640e56 (patch) | |
tree | 8bf8e8184fcbfa11a5ae8f5eb7ca70c851b20ecf /calendar/gui/dialogs/comp-editor.c | |
parent | f05ae97ea17e835b4f9b198e4ebeb892f33aabd9 (diff) | |
download | gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.tar gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.tar.gz gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.tar.bz2 gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.tar.lz gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.tar.xz gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.tar.zst gsoc2013-evolution-9f5a04beb4ce18da2609e93adbb625a51c640e56.zip |
Added support for groupwise meeting delegation.
svn path=/trunk/; revision=29463
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index cba7968268..495de600be 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -96,7 +96,10 @@ struct _CompEditorPrivate { GtkWidget *attachment_expander_num; guint32 attachment_bar_visible : 1; - + + /* TODO use this flags for setting all the boolean variables + below */ + CompEditorFlags flags; gboolean changed; gboolean needs_send; @@ -1281,6 +1284,35 @@ comp_editor_get_changed (CompEditor *editor) return priv->changed; } +void +comp_editor_set_flags (CompEditor *editor, CompEditorFlags flags) +{ + + CompEditorPrivate *priv; + + g_return_if_fail (editor != NULL); + g_return_if_fail (IS_COMP_EDITOR (editor)); + + priv = editor->priv; + + priv->flags = flags; +} + + +CompEditorFlags +comp_editor_get_flags (CompEditor *editor) +{ + + CompEditorPrivate *priv; + + g_return_val_if_fail (editor != NULL, FALSE); + g_return_val_if_fail (IS_COMP_EDITOR (editor), FALSE); + + priv = editor->priv; + + return priv->flags; +} + /** * comp_editor_set_needs_send: * @editor: A component editor @@ -1375,6 +1407,9 @@ comp_editor_append_page (CompEditor *editor, g_object_ref (page); + /* set the flags */ + page->flags = priv->flags; + /* If we are editing something, fill the widgets with current info */ if (priv->comp != NULL) { ECalComponent *comp; |