aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-prefs.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2004-04-19 23:20:48 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-04-19 23:20:48 +0800
commit69bf3985321f43107a694855c764500c89b05deb (patch)
tree710f94bb8dd3378e397b94cf51a46d2f8dfbd293 /mail/em-composer-prefs.c
parentcc309ba614fec0dca286fd20d97ab511654a331f (diff)
downloadgsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar.gz
gsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar.zst
gsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.zip
mail-component.c
2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Mail.server.in.in: * em-account-prefs.[ch]: * em-composer-prefs.[ch]: * em-folder-browser.c: * em-folder-tree.c: * em-folder-view.c: * em-format-html-display.c: * em-format-html.[ch]: * em-popup.c: * mail-component.c * mail-config-druid.c: * mail-config.glade: * mail-mt.c: * mail-send-recv.c: * message-list.c: * message-tag-followup.c: * message-tags.glade: Update the mailer to use icon themes through the EIconFactory object in e-util svn path=/trunk/; revision=25517
Diffstat (limited to 'mail/em-composer-prefs.c')
-rw-r--r--mail/em-composer-prefs.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index 3125c3776f..99870462f2 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -47,11 +47,10 @@
#include <gtk/gtktreeview.h>
#include "widgets/misc/e-charset-picker.h"
+#include <e-util/e-icon-factory.h>
#include "mail-config.h"
-#include "art/mark.xpm"
-
#define d(x)
@@ -101,9 +100,7 @@ em_composer_prefs_class_init (EMComposerPrefsClass *klass)
static void
em_composer_prefs_init (EMComposerPrefs *prefs)
{
- prefs->enabled_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) mark_xpm);
- gdk_pixbuf_render_pixmap_and_mask (prefs->enabled_pixbuf, &prefs->mark_pixmap, &prefs->mark_bitmap, 128);
-
+ prefs->enabled_pixbuf = e_icon_factory_get_icon ("stock_mark", 16);
prefs->sig_hash = g_hash_table_new (g_direct_hash, g_direct_equal);
}
@@ -120,8 +117,6 @@ em_composer_prefs_finalise (GObject *obj)
g_object_unref (prefs->gui);
g_object_unref (prefs->enabled_pixbuf);
- gdk_pixmap_unref (prefs->mark_pixmap);
- g_object_unref (prefs->mark_bitmap);
g_hash_table_foreach (prefs->sig_hash, (GHFunc) row_free, NULL);
g_hash_table_destroy (prefs->sig_hash);
@@ -909,7 +904,7 @@ em_composer_prefs_construct (EMComposerPrefs *prefs)
prefs->spell_able_button = glade_xml_get_widget (gui, "buttonSpellCheckEnable");
info_pixmap = glade_xml_get_widget (gui, "pixmapSpellInfo");
- gtk_image_set_from_file (GTK_IMAGE (info_pixmap), EVOLUTION_IMAGES "/info-bulb.png");
+ gtk_image_set_from_stock (GTK_IMAGE (info_pixmap), GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_BUTTON);
if (!spell_setup_check_options (prefs)) {
gtk_widget_hide (GTK_WIDGET (prefs->colour));
gtk_widget_hide (GTK_WIDGET (prefs->language));