aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/folder-browser-factory.c17
2 files changed, 23 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index bcc738c3b8..455d1f4888 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2001-01-25 Ettore Perazzoli <ettore@ximian.com>
+ * 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 <ettore@ximian.com>
+
* folder-browser-factory.c (update_pixmaps): Set the pixmaps for
the "/menu/Folder/FolderConfig" and "/menu/Settings/SetMailConfig"
items.
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");