From 46bee495664a9a83a7fbb5169b7ee71128689639 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Thu, 2 Aug 2001 17:12:15 +0000 Subject: Update the updated Save, Save As, and Print icons for menus and the 2001-08-02 Jason Leach * evolution-contact-editor.xml: Update the updated Save, Save As, and Print icons for menus and the toolbar. Also added a Close button to the toolbar and some other fixes suggested in #5518. svn path=/trunk/; revision=11584 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/contact-editor/e-contact-editor.c | 17 +++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index deb7c46fc0..e20567a4a6 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2001-08-02 Jason Leach + + * gui/contact-editor/e-contact-editor.c: Use the updated Save, + Save As, and Print icons for the menus and toolbar. + 2001-08-02 Christopher James Lahey * gui/component/addressbook.c: Added ContactsSaveAsVCard, diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 322a7ce79b..ae1ef0ff95 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -45,6 +45,7 @@ #include "addressbook/printing/e-contact-print-envelope.h" #include "e-util/e-gui-utils.h" #include "widgets/misc/e-dateedit.h" +#include "shell/evolution-shell-component-utils.h" #include "e-card-merging.h" @@ -1021,15 +1022,27 @@ BonoboUIVerb verbs [] = { BONOBO_UI_VERB_END }; +EPixmap pixmaps[] = { + E_PIXMAP ("/commands/ContactEditorSave", "save-16.png"), + E_PIXMAP ("/commands/ContactEditorSaveAs", "save-as-16.png"), + E_PIXMAP ("/commands/ContactEditorPrint", "print.xpm"), + E_PIXMAP ("/commands/ContactEditorPrintEnvelope", "print.xpm"), + + E_PIXMAP ("/Toolbar/ContactEditorPrint", "buttons/print.png"), + + E_PIXMAP_END +}; + static void create_ui (EContactEditor *ce) { - bonobo_ui_component_add_verb_list_with_data ( - ce->uic, verbs, ce); + bonobo_ui_component_add_verb_list_with_data (ce->uic, verbs, ce); bonobo_ui_util_set_ui (ce->uic, EVOLUTION_DATADIR, "evolution-contact-editor.xml", "evolution-contact-editor"); + + e_pixmaps_update (ce->uic, pixmaps); } /* Callback used when the dialog box is destroyed */ -- cgit v1.2.3