diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-09-28 01:48:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-09-28 01:48:23 +0800 |
commit | 54d4e5e5f8ae9b2273377b1030a9822b4faecba2 (patch) | |
tree | 688034c8ef27aa7a6cab63e339e69e90e6e19249 /composer | |
parent | 80dd682b542b9740670abcb9470185b7db8d49b8 (diff) | |
download | gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.tar gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.tar.gz gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.tar.bz2 gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.tar.lz gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.tar.xz gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.tar.zst gsoc2013-evolution-54d4e5e5f8ae9b2273377b1030a9822b4faecba2.zip |
** Fixes bug #477045
2007-09-27 Matthew Barnes <mbarnes@redhat.com>
** 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
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 8 | ||||
-rw-r--r-- | composer/e-msg-composer-select-file.c | 2 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 32 |
3 files changed, 33 insertions, 9 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 371fd1cd7f..8f214152da 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,11 @@ +2007-09-27 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #477045 + + * e-msg-composer-select-file.c: + * e-msg-composer.c: + Use standard icon names where applicable. + 2007-09-14 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #476231 diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c index 302897d517..1d02f2bd8a 100644 --- a/composer/e-msg-composer-select-file.c +++ b/composer/e-msg-composer-select-file.c @@ -100,7 +100,7 @@ get_selector(struct _EMsgComposer *composer, const char *title, guint32 flags) gtk_window_set_wmclass ((GtkWindow *) selection, "fileselection", "Evolution:composer"); gtk_window_set_modal ((GtkWindow *) selection, FALSE); - 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 (selection), icon_list); g_list_foreach (icon_list, (GFunc) g_object_unref, NULL); 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); |