diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-25 16:35:04 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-25 16:35:04 +0800 |
commit | 735020a97601de2799e6107c45b35047fedb7efa (patch) | |
tree | 8e305bc951d7874d9e43303de7180c47783cb1e3 /mail | |
parent | 58745c4e998b433378a5b759331d14d08edf6b7d (diff) | |
download | gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.tar gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.tar.gz gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.tar.bz2 gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.tar.lz gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.tar.xz gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.tar.zst gsoc2013-evolution-735020a97601de2799e6107c45b35047fedb7efa.zip |
More happy icons for the mailer.
svn path=/trunk/; revision=7807
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/folder-browser-factory.c | 17 |
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"); |