diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-21 05:28:00 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-21 05:28:00 +0800 |
commit | 9e052c1a099088a616396e7f7ffac41f1de8fadb (patch) | |
tree | 5a451893fd7d91ce98532f2a7f5c8ae283fe7c18 /calendar/gui/dialogs/comp-editor.c | |
parent | 1c3a50109e1936f3693d00486eab1957fe025b12 (diff) | |
download | gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.gz gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.bz2 gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.lz gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.xz gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.tar.zst gsoc2013-evolution-9e052c1a099088a616396e7f7ffac41f1de8fadb.zip |
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
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 8 |
1 files changed, 7 insertions, 1 deletions
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); } /** |