From 9e052c1a099088a616396e7f7ffac41f1de8fadb Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 20 May 2002 21:28:00 +0000 Subject: Pass the @component_pixmaps in so we give the new "Meeting" button an * gui/dialogs/event-editor.c (event_editor_init): Pass the @component_pixmaps in so we give the new "Meeting" button an icon. * gui/dialogs/comp-editor.c (comp_editor_merge_ui): New arg @component_pixmaps to pass in custom pixmaps. svn path=/trunk/; revision=16955 --- calendar/gui/dialogs/comp-editor.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar/gui/dialogs/comp-editor.c') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 05710b7581..f2a028a4ee 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -974,7 +974,10 @@ comp_editor_send_comp (CompEditor *editor, CalComponentItipMethod method) * **/ void -comp_editor_merge_ui (CompEditor *editor, const char *filename, BonoboUIVerb *verbs) +comp_editor_merge_ui (CompEditor *editor, + const char *filename, + BonoboUIVerb *verbs, + EPixmap *component_pixmaps) { CompEditorPrivate *priv; @@ -985,6 +988,9 @@ comp_editor_merge_ui (CompEditor *editor, const char *filename, BonoboUIVerb *ve bonobo_ui_util_set_ui (priv->uic, EVOLUTION_DATADIR, filename, "evolution-calendar"); bonobo_ui_component_add_verb_list_with_data (priv->uic, verbs, editor); + + if (component_pixmaps != NULL) + e_pixmaps_update (priv->uic, component_pixmaps); } /** -- cgit v1.2.3