From 54d4e5e5f8ae9b2273377b1030a9822b4faecba2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 27 Sep 2007 17:48:23 +0000 Subject: ** Fixes bug #477045 2007-09-27 Matthew Barnes ** Fixes bug #477045 * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-editor.c: * calendar/gui/dialogs/task-editor.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-memo-table.c: * calendar/gui/e-week-view.c: * calendar/gui/memos-component.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-component.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * composer/e-msg-composer.c: * mail/em-folder-tree.c: * mail/em-folder-view.c: * mail/em-popup.c: * mail/mail-component.c: * mail/mail-mt.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/exchange-folder-permission.c: * plugins/exchange-folder.c: * plugins/groupwise-features/share-folder-common.c: * shell/e-shell-window-commands.c: * ui/evolution-addressbook.xml: * ui/evolution-calendar.xml: * ui/evolution-composer-entries.xml: * ui/evolution-editor.xml: * ui/evolution-event-editor.xml: * ui/evolution-mail-list.xml: * ui/evolution-mail-message.xml: * ui/evolution-memos.xml: * ui/evolution-message-composer.xml: * ui/evolution-subscribe.xml: * ui/evolution-task-editor.xml: * ui/evolution-tasks.xml: * ui/evolution.xml: Use standard icon names where applicable. svn path=/trunk/; revision=34322 --- composer/e-msg-composer.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) (limited to 'composer/e-msg-composer.c') diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index b113ccc2f9..3561233eae 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2208,14 +2208,17 @@ static BonoboUIVerb verbs [] = { }; static EPixmap pixcache [] = { + E_PIXMAP ("/commands/DeleteAll", "edit-delete", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/FileAttach", "mail-attachment", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/FileClose", "window-close", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/FileOpen", "document-open", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/FileSave", "document-save", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/FileSaveAs", "document-save-as", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/FileSend", "mail-send", E_ICON_SIZE_MENU), + + E_PIXMAP ("/Toolbar/FileSend", "mail-send", E_ICON_SIZE_LARGE_TOOLBAR), + E_PIXMAP ("/Toolbar/FileSaveDraft", "document-save", E_ICON_SIZE_LARGE_TOOLBAR) , E_PIXMAP ("/Toolbar/FileAttach", "mail-attachment", E_ICON_SIZE_LARGE_TOOLBAR), - E_PIXMAP ("/Toolbar/FileSend", "stock_mail-send", E_ICON_SIZE_LARGE_TOOLBAR), - E_PIXMAP ("/Toolbar/FileSaveDraft", "stock_save", E_ICON_SIZE_LARGE_TOOLBAR) , - -/* E_PIXMAP ("/menu/Insert/FileAttach", "mail-attachment", E_ICON_SIZE_LARGE_TOOLBAR), */ - E_PIXMAP ("/commands/FileSend", "stock_mail-send", E_ICON_SIZE_MENU), - E_PIXMAP ("/commands/FileSave", "stock_save", E_ICON_SIZE_MENU), - E_PIXMAP ("/commands/FileSaveAs", "stock_save-as", E_ICON_SIZE_MENU), E_PIXMAP_END }; @@ -3591,6 +3594,17 @@ static BonoboUIVerb entry_verbs [] = { BONOBO_UI_VERB_END }; +static EPixmap entry_pixcache [] = { + E_PIXMAP ("/Toolbar/EditCut", "edit-cut", E_ICON_SIZE_LARGE_TOOLBAR), + E_PIXMAP ("/Toolbar/EditCopy", "edit-copy", E_ICON_SIZE_LARGE_TOOLBAR), + E_PIXMAP ("/Toolbar/EditPaste", "edit-paste", E_ICON_SIZE_LARGE_TOOLBAR), + E_PIXMAP ("/commands/EditCut", "edit-cut", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/EditCopy", "edit-copy", E_ICON_SIZE_MENU), + E_PIXMAP ("/commands/EditPaste", "edit-paste", E_ICON_SIZE_MENU), + + E_PIXMAP_END +}; + /* All this snot is so that Cut/Copy/Paste work. */ static gboolean composer_entry_focus_in_event_cb (GtkWidget *widget, GdkEventFocus *event, gpointer user_data) @@ -3614,6 +3628,8 @@ composer_entry_focus_in_event_cb (GtkWidget *widget, GdkEventFocus *event, gpoin xmlfile, "evolution-composer-entries", NULL); g_free (xmlfile); + + e_pixmaps_update (p->entry_uic, entry_pixcache); bonobo_ui_component_thaw (p->entry_uic, NULL); @@ -3879,7 +3895,7 @@ create_composer (int visible_mask) G_CALLBACK (msg_composer_destroy_notify), NULL); - icon_list = e_icon_factory_get_icon_list ("stock_mail-compose"); + icon_list = e_icon_factory_get_icon_list ("mail-message-new"); if (icon_list) { gtk_window_set_icon_list (GTK_WINDOW (composer), icon_list); g_list_foreach (icon_list, (GFunc) g_object_unref, NULL); -- cgit v1.2.3