From 735020a97601de2799e6107c45b35047fedb7efa Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 25 Jan 2001 08:35:04 +0000 Subject: More happy icons for the mailer. svn path=/trunk/; revision=7807 --- mail/ChangeLog | 7 +++++++ mail/folder-browser-factory.c | 17 ++++++++++++++++- ui/ChangeLog | 7 +++++++ ui/evolution-mail.xml | 15 +++++++++++---- 4 files changed, 41 insertions(+), 5 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index bcc738c3b8..455d1f4888 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2001-01-25 Ettore Perazzoli + + * folder-browser-factory.c (update_pixmaps): Set the print icon + for various other items. + (set_pixmap): Be a bit more verbose in the warning message if the + icon isn't found [i.e. report the name of the file too]. + 2001-01-25 Ettore Perazzoli * folder-browser-factory.c (update_pixmaps): Set the pixmaps for diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index d57b657ac2..e04ddf7aef 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -111,7 +111,11 @@ set_pixmap (BonoboUIComponent *uic, path = g_concat_dir_and_file (EVOLUTION_DATADIR "/images/evolution", icon); pixbuf = gdk_pixbuf_new_from_file (path); - g_return_if_fail (pixbuf != NULL); + if (pixbuf == NULL) { + g_warning ("Cannot load image -- %s", path); + g_free (path); + return; + } bonobo_ui_util_set_pixbuf (uic, xml_path, pixbuf); @@ -123,7 +127,18 @@ set_pixmap (BonoboUIComponent *uic, static void update_pixmaps (BonoboUIComponent *uic) { + set_pixmap (uic, "/menu/File/Print/Print", "16_print.xpm"); + set_pixmap (uic, "/menu/File/Print/Print Preview", "16_print.xpm"); + + set_pixmap (uic, "/menu/Component/Message/MessageEdit", "16_edit.xpm"); + set_pixmap (uic, "/menu/Component/Message/MessageSaveAs", "16_save.xpm"); + set_pixmap (uic, "/menu/Component/Message/MessagePrint", "16_print.xpm"); + set_pixmap (uic, "/menu/Component/Message/MessageMove", "16_move_message.xpm"); + set_pixmap (uic, "/menu/Component/Message/MessageReplyAll", "16_reply_to_all.xpm"); + set_pixmap (uic, "/menu/Component/Message/MessageReplySndr", "16_reply.xpm"); + 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"); diff --git a/ui/ChangeLog b/ui/ChangeLog index cfb3eb8ae9..3e8c99ffba 100644 --- a/ui/ChangeLog +++ b/ui/ChangeLog @@ -1,3 +1,10 @@ +2001-01-25 Ettore Perazzoli + + * evolution-mail.xml: Set the `pixtype' of the "PrintMessage" and + "PrintPreviewMessage" items to "pixbuf". Likewise for + "MessageSaveAs", "MessageEdit", "MessagePrint", "MessageMove", "MessageReplySndr" + and "MessageReplyAll". + 2001-01-25 Ettore Perazzoli * evolution-mail.xml: Set the `pixtype' of the "Configure Folder" diff --git a/ui/evolution-mail.xml b/ui/evolution-mail.xml index 7418abfeff..e17314f863 100644 --- a/ui/evolution-mail.xml +++ b/ui/evolution-mail.xml @@ -23,12 +23,12 @@ + pixtype="pixbuf" accel="*Control*P"/> + pixtype="pixbuf"/> @@ -88,24 +88,30 @@ + _label="Reply to _All" + pixtype="pixbuf" + accel="*Control**Shift*r"/> + pixtype="pixbuf" + accel="*Control*m"/>