From 57f1c74f30c97911e0c8b6d47f00e3067a73d9ed Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 25 Jan 2001 08:04:17 +0000 Subject: Get the mailer to use the new menu icons. svn path=/trunk/; revision=7805 --- mail/ChangeLog | 8 ++++++++ mail/folder-browser-factory.c | 19 +++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 39ca322278..bcc738c3b8 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2001-01-25 Ettore Perazzoli + + * folder-browser-factory.c (update_pixmaps): Set the pixmaps for + the "/menu/Folder/FolderConfig" and "/menu/Settings/SetMailConfig" + items. + (set_pixmap): Don't prepend the "buttons" prefix. + (update_pixmaps): Update accordingly. + 2001-01-24 Not Zed * folder-browser.c (search_string[]): Fix the subject match diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 4654451416..d57b657ac2 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -108,7 +108,7 @@ set_pixmap (BonoboUIComponent *uic, char *path; GdkPixbuf *pixbuf; - path = g_concat_dir_and_file (EVOLUTION_DATADIR "/images/evolution/buttons", icon); + path = g_concat_dir_and_file (EVOLUTION_DATADIR "/images/evolution", icon); pixbuf = gdk_pixbuf_new_from_file (path); g_return_if_fail (pixbuf != NULL); @@ -123,13 +123,16 @@ set_pixmap (BonoboUIComponent *uic, static void update_pixmaps (BonoboUIComponent *uic) { - set_pixmap (uic, "/Toolbar/MailGet", "fetch-mail.png"); - set_pixmap (uic, "/Toolbar/MailCompose", "compose-message.png"); - set_pixmap (uic, "/Toolbar/Reply", "reply.png"); - set_pixmap (uic, "/Toolbar/ReplyAll", "reply-to-all.png"); - set_pixmap (uic, "/Toolbar/Forward", "forward.png"); - set_pixmap (uic, "/Toolbar/Move", "move-message.png"); - set_pixmap (uic, "/Toolbar/Copy", "copy-message.png"); + set_pixmap (uic, "/menu/Component/Folder/FolderConfig", "16_configure_folder.xpm"); + set_pixmap (uic, "/menu/Settings/SetMailConfig", "16_configure_mail.xpm"); + + set_pixmap (uic, "/Toolbar/MailGet", "buttons/fetch-mail.png"); + set_pixmap (uic, "/Toolbar/MailCompose", "buttons/compose-message.png"); + set_pixmap (uic, "/Toolbar/Reply", "buttons/reply.png"); + set_pixmap (uic, "/Toolbar/ReplyAll", "buttons/reply-to-all.png"); + set_pixmap (uic, "/Toolbar/Forward", "buttons/forward.png"); + set_pixmap (uic, "/Toolbar/Move", "buttons/move-message.png"); + set_pixmap (uic, "/Toolbar/Copy", "buttons/copy-message.png"); } static void -- cgit v1.2.3