diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-24 23:06:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-24 23:06:13 +0800 |
commit | 2087f385e566fcc3a79060e93c921afed310c2a9 (patch) | |
tree | aebea05022b62917cc5c6c86cd7852bceb46e0ba /composer/e-composer-private.c | |
parent | b48e08fd6f059ca221391fb819e3fb464b854d53 (diff) | |
download | gsoc2013-evolution-2087f385e566fcc3a79060e93c921afed310c2a9.tar.gz gsoc2013-evolution-2087f385e566fcc3a79060e93c921afed310c2a9.tar.zst gsoc2013-evolution-2087f385e566fcc3a79060e93c921afed310c2a9.zip |
Prefer icons from GTK's cache instead of our own.
Diffstat (limited to 'composer/e-composer-private.c')
-rw-r--r-- | composer/e-composer-private.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index ef151d024e..a41a06f814 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -17,7 +17,6 @@ #include "e-composer-private.h" #include "e-util/e-util-private.h" -#include "e-util/e-icon-factory.h" static void composer_setup_charset_menu (EMsgComposer *composer) @@ -147,7 +146,8 @@ e_composer_private_init (EMsgComposer *composer) tmp_box = gtk_hbox_new (FALSE, 0); tmp = gtk_hbox_new (FALSE, 0); - tmp1 = gtk_image_new_from_pixbuf (e_icon_factory_get_icon("mail-send", E_ICON_SIZE_BUTTON)); + tmp1 = gtk_image_new_from_icon_name ( + "mail-send", GTK_ICON_SIZE_BUTTON); gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 0); tmp1 = gtk_label_new_with_mnemonic (_("S_end")); gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 6); @@ -163,7 +163,8 @@ e_composer_private_init (EMsgComposer *composer) path = "/main-toolbar/pre-main-toolbar/save-draft"; send_widget = gtk_ui_manager_get_widget (ui_manager, path); tmp = gtk_hbox_new (FALSE, 0); - tmp1 = gtk_image_new_from_pixbuf (e_icon_factory_get_icon(GTK_STOCK_SAVE, E_ICON_SIZE_BUTTON)); + tmp1 = gtk_image_new_from_stock ( + GTK_STOCK_SAVE, GTK_ICON_SIZE_BUTTON); gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 0); tmp1 = gtk_label_new_with_mnemonic (_("Save draft")); gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 3); @@ -179,7 +180,8 @@ e_composer_private_init (EMsgComposer *composer) path = "/main-toolbar/pre-main-toolbar/attach"; send_widget = gtk_ui_manager_get_widget (ui_manager, path); tmp = gtk_hbox_new (FALSE, 0); - tmp1 = gtk_image_new_from_pixbuf (e_icon_factory_get_icon("gtk-add", E_ICON_SIZE_BUTTON)); + tmp1 = gtk_image_new_from_stock ( + GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON); gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 0); tmp1 = gtk_label_new_with_mnemonic (_("Add attachment")); gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 3); |