From ce45da96798f99e7368836fe664ff85abad1bcb0 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 15 Sep 2007 21:38:15 +0000 Subject: [PATCH] - Add patch for GNOME bug #477045 (use standard icon names). --- evolution-2.11.92-icon-names.patch | 2479 ++++++++++++++++++++++++++++ evolution.spec | 9 +- 2 files changed, 2487 insertions(+), 1 deletion(-) create mode 100644 evolution-2.11.92-icon-names.patch diff --git a/evolution-2.11.92-icon-names.patch b/evolution-2.11.92-icon-names.patch new file mode 100644 index 0000000..25e1b23 --- /dev/null +++ b/evolution-2.11.92-icon-names.patch @@ -0,0 +1,2479 @@ +diff -up evolution-2.11.92/mail/em-folder-browser.c.icon-names evolution-2.11.92/mail/em-folder-browser.c +--- evolution-2.11.92/mail/em-folder-browser.c.icon-names 2007-09-15 16:53:46.000000000 -0400 ++++ evolution-2.11.92/mail/em-folder-browser.c 2007-09-15 16:53:46.000000000 -0400 +@@ -206,7 +206,7 @@ enum { + /* Options for View */ + static EMFBSearchBarItem emfb_view_items[] = { + {{ N_("All Messages"), VIEW_ALL_MESSAGES, 0 }, NULL}, +- {{ N_("Unread Messages"), VIEW_UNREAD_MESSAGES, 0 }, "stock_mail-unread"}, ++ {{ N_("Unread Messages"), VIEW_UNREAD_MESSAGES, 0 }, "mail-unread"}, + {{ NULL, 0, 0 }, NULL}, + {{ N_("No Label"),VIEW_NO_LABEL, 0 }, NULL}, + {{ NULL, -1, 0 }, NULL} +@@ -215,12 +215,12 @@ static EMFBSearchBarItem emfb_view_items + /* TODO: Following options should be customizable */ + static EMFBSearchBarItem temp_view_items[] = { + {{ NULL, 0, 0 }, NULL}, +- {{ N_("Read Messages"), VIEW_READ_MESSAGES, 0 }, "stock_mail-open"}, ++ {{ N_("Read Messages"), VIEW_READ_MESSAGES, 0 }, "mail-read"}, + {{ N_("Recent Messages"), VIEW_RECENT_MESSAGES, 0 }, NULL}, + {{ N_("Last 5 Days' Messages"), VIEW_LAST_FIVE_DAYS, 0 }, NULL}, + {{ N_("Messages with Attachments"), VIEW_WITH_ATTACHMENTS, 0 }, "mail-attachment"}, + {{ N_("Important Messages"), VIEW_MESSAGES_MARKED_AS_IMPORTANT, 0}, "emblem-important"}, +- {{ N_("Messages Not Junk"), VIEW_NOT_JUNK, 0 }, "stock_not-spam"}, ++ {{ N_("Messages Not Junk"), VIEW_NOT_JUNK, 0 }, "mail-mark-notjunk"}, + /* { NULL, 0, NULL }, */ + /* { N_("Customize"), NOT_IMPLEMENTED, NULL }, */ + {{ NULL, -1, 0 }, NULL} +diff -up evolution-2.11.92/mail/em-folder-tree.c.icon-names evolution-2.11.92/mail/em-folder-tree.c +--- evolution-2.11.92/mail/em-folder-tree.c.icon-names 2007-09-15 16:53:46.000000000 -0400 ++++ evolution-2.11.92/mail/em-folder-tree.c 2007-09-15 16:53:46.000000000 -0400 +@@ -288,11 +288,11 @@ render_pixbuf (GtkTreeViewColumn *column + guint32 flags; + + if (!initialised) { +- folder_icons[FOLDER_ICON_NORMAL] = e_icon_factory_get_icon ("stock_folder", E_ICON_SIZE_MENU); ++ folder_icons[FOLDER_ICON_NORMAL] = e_icon_factory_get_icon ("folder", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_INBOX] = e_icon_factory_get_icon ("stock_inbox", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_OUTBOX] = e_icon_factory_get_icon ("stock_outbox", E_ICON_SIZE_MENU); +- folder_icons[FOLDER_ICON_TRASH] = e_icon_factory_get_icon ("gnome-fs-trash-empty", E_ICON_SIZE_MENU); +- folder_icons[FOLDER_ICON_JUNK] = e_icon_factory_get_icon ("stock_spam", E_ICON_SIZE_MENU); ++ folder_icons[FOLDER_ICON_TRASH] = e_icon_factory_get_icon ("user-trash", E_ICON_SIZE_MENU); ++ folder_icons[FOLDER_ICON_JUNK] = e_icon_factory_get_icon ("mail-mark-junk", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_SHARED_TO_ME] = e_icon_factory_get_icon ("stock_shared-to-me", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_SHARED_BY_ME] = e_icon_factory_get_icon ("stock_shared-by-me", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_SENT] = e_icon_factory_get_icon ("stock_sent-mail", E_ICON_SIZE_MENU); +@@ -1002,7 +1002,7 @@ static EPopupItem emft_drop_popup_menu[] + { E_POPUP_ITEM, "00.emc.02", N_("_Copy"), emft_drop_popup_copy, NULL, "stock_folder-copy", 2 }, + { E_POPUP_ITEM, "00.emc.03", N_("_Move"), emft_drop_popup_move, NULL, "stock_folder-move", 2 }, + { E_POPUP_BAR, "10.emc" }, +- { E_POPUP_ITEM, "99.emc.00", N_("Cancel _Drag"), emft_drop_popup_cancel, NULL, "stock_cancel", 0 }, ++ { E_POPUP_ITEM, "99.emc.00", N_("Cancel _Drag"), emft_drop_popup_cancel, NULL, "dialog-cancel", 0 }, + }; + + static void +@@ -2114,12 +2114,12 @@ static EPopupItem emft_popup_items[] = { + + { E_POPUP_BAR, "20.emc" }, + /* FIXME: need to disable for nochildren folders */ +- { E_POPUP_ITEM, "20.emc.00", N_("_New Folder..."), emft_popup_new_folder, NULL, "stock_new-dir", 0, EM_POPUP_FOLDER_INFERIORS }, ++ { E_POPUP_ITEM, "20.emc.00", N_("_New Folder..."), emft_popup_new_folder, NULL, "folder-new", 0, EM_POPUP_FOLDER_INFERIORS }, + /* FIXME: need to disable for undeletable folders */ +- { E_POPUP_ITEM, "20.emc.01", N_("_Delete"), emft_popup_delete_folder, NULL, "stock_delete", 0, EM_POPUP_FOLDER_FOLDER|EM_POPUP_FOLDER_DELETE }, ++ { E_POPUP_ITEM, "20.emc.01", N_("_Delete"), emft_popup_delete_folder, NULL, "edit-delete", 0, EM_POPUP_FOLDER_FOLDER|EM_POPUP_FOLDER_DELETE }, + { E_POPUP_ITEM, "20.emc.02", N_("_Rename..."), emft_popup_rename_folder, NULL, NULL, 0, EM_POPUP_FOLDER_FOLDER|EM_POPUP_FOLDER_DELETE }, +- { E_POPUP_ITEM, "20.emc.03", N_("Re_fresh"), emft_popup_refresh_folder, NULL, "stock_refresh", EM_POPUP_FOLDER_NONSTATIC, EM_POPUP_FOLDER_FOLDER|EM_POPUP_FOLDER_SELECT}, +- { E_POPUP_ITEM, "20.emc.04", N_("Fl_ush Outbox"), emft_popup_flush_outbox, NULL, "stock_mail-send", EM_POPUP_FOLDER_OUTBOX, 0 }, ++ { E_POPUP_ITEM, "20.emc.03", N_("Re_fresh"), emft_popup_refresh_folder, NULL, "view-refresh", EM_POPUP_FOLDER_NONSTATIC, EM_POPUP_FOLDER_FOLDER|EM_POPUP_FOLDER_SELECT}, ++ { E_POPUP_ITEM, "20.emc.04", N_("Fl_ush Outbox"), emft_popup_flush_outbox, NULL, "mail-send", EM_POPUP_FOLDER_OUTBOX, 0 }, + + + { E_POPUP_BAR, "80.emc" }, +diff -up evolution-2.11.92/mail/mail.error.xml.icon-names evolution-2.11.92/mail/mail.error.xml +--- evolution-2.11.92/mail/mail.error.xml.icon-names 2007-07-28 17:08:12.000000000 -0400 ++++ evolution-2.11.92/mail/mail.error.xml 2007-09-15 16:53:46.000000000 -0400 +@@ -16,14 +16,14 @@ + <_secondary xml:space="preserve">Please make sure the following recipients are willing and able to receive HTML email: + {0} + Send anyway? +- + + +diff -up evolution-2.11.92/e-util/e-error.c.icon-names evolution-2.11.92/e-util/e-error.c +--- evolution-2.11.92/e-util/e-error.c.icon-names 2007-09-02 14:56:59.000000000 -0400 ++++ evolution-2.11.92/e-util/e-error.c 2007-09-15 16:53:46.000000000 -0400 +@@ -79,7 +79,7 @@ static GSList *ee_parent_list; + /* ********************************************************************** */ + + static struct _e_error_button default_ok_button = { +- NULL, "gtk-ok", NULL, GTK_RESPONSE_OK ++ NULL, "dialog-ok", NULL, GTK_RESPONSE_OK + }; + + static struct _e_error default_errors[] = { +diff -up evolution-2.11.92/e-util/e-system.error.xml.icon-names evolution-2.11.92/e-util/e-system.error.xml +--- evolution-2.11.92/e-util/e-system.error.xml.icon-names 2007-07-05 02:10:56.000000000 -0400 ++++ evolution-2.11.92/e-util/e-system.error.xml 2007-09-15 16:53:46.000000000 -0400 +@@ -5,7 +5,7 @@ + <_title>Overwrite file? + <_primary>File exists "{0}". + <_secondary>Do you wish to overwrite it? +-