diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-04 04:15:28 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-04 04:15:28 +0800 |
commit | 2ddb68d1f71868d2c137a1b07ec79d695d3e6d48 (patch) | |
tree | 52c438c0a2629b0ed6be86519866750e1826d960 /calendar/gui/dialogs/comp-editor.c | |
parent | dacd8610cbafea08b020e87ce793e9236ac2bdbd (diff) | |
download | gsoc2013-evolution-2ddb68d1f71868d2c137a1b07ec79d695d3e6d48.tar.gz gsoc2013-evolution-2ddb68d1f71868d2c137a1b07ec79d695d3e6d48.tar.zst gsoc2013-evolution-2ddb68d1f71868d2c137a1b07ec79d695d3e6d48.zip |
refactor functionality into several function (comp_string): if we are
2001-10-03 JP Rosevear <jpr@ximian.com>
* gui/itip-utils.c (itip_send_comp): refactor functionality into
several function
(comp_string): if we are publishing, empty the attendee list
* gui/dialogs/event-editor.c (schedule_meeting_cmd): when we
schedule a new meeting, mark the event editor as changed
* pcs/cal.c (cal_class_init): get correct parent class
* gui/dialogs/comp-editor.c (comp_editor_merge_ui): use the
generated ui component name
svn path=/trunk/; revision=13385
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index f039c51745..6a51cf75a3 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -645,7 +645,7 @@ real_send_comp (CompEditor *editor, CalComponentItipMethod method) g_return_if_fail (IS_COMP_EDITOR (editor)); priv = editor->priv; - + itip_send_comp (method, priv->comp); } @@ -751,6 +751,7 @@ comp_editor_merge_ui (CompEditor *editor, const char *filename, BonoboUIVerb *ve CompEditorPrivate *priv; BonoboUIEngine *engine; BonoboUINode *node; + const char *name; g_return_if_fail (editor != NULL); g_return_if_fail (IS_COMP_EDITOR (editor)); @@ -762,7 +763,8 @@ comp_editor_merge_ui (CompEditor *editor, const char *filename, BonoboUIVerb *ve "evolution-calendar"); g_assert (node != NULL); - bonobo_ui_engine_xml_merge_tree (engine, "/", node, "comp-editor"); + name = bonobo_ui_component_get_name (priv->uic); + bonobo_ui_engine_xml_merge_tree (engine, "/", node, name); bonobo_ui_component_add_verb_list_with_data (priv->uic, verbs, editor); } |