aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-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-account-prefs.c
parentcc309ba614fec0dca286fd20d97ab511654a331f (diff)
downloadgsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar
gsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar.gz
gsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar.bz2
gsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar.lz
gsoc2013-evolution-69bf3985321f43107a694855c764500c89b05deb.tar.xz
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-account-prefs.c')
-rw-r--r--mail/em-account-prefs.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index ec4e83ab9e..988a6ab216 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -38,9 +38,8 @@
#include "e-util/e-account-list.h"
-#include "art/mark.xpm"
-
#include "em-account-prefs.h"
+#include <e-util/e-icon-factory.h>
static void em_account_prefs_class_init (EMAccountPrefsClass *class);
static void em_account_prefs_init (EMAccountPrefs *prefs);
@@ -94,7 +93,7 @@ em_account_prefs_class_init (EMAccountPrefsClass *klass)
/* setup static data */
disabled_pixbuf = NULL;
- enabled_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) mark_xpm);
+ enabled_pixbuf = e_icon_factory_get_icon ("stock_mark", 16);
}
static void
@@ -103,7 +102,7 @@ em_account_prefs_init (EMAccountPrefs *prefs)
prefs->druid = NULL;
prefs->editor = NULL;
- gdk_pixbuf_render_pixmap_and_mask (enabled_pixbuf, &prefs->mark_pixmap, &prefs->mark_bitmap, 128);
+ prefs->mark_pixbuf = g_object_ref (enabled_pixbuf);
}
static void
@@ -122,8 +121,7 @@ em_account_prefs_finalise (GObject *obj)
EMAccountPrefs *prefs = (EMAccountPrefs *) obj;
g_object_unref (prefs->gui);
- gdk_pixmap_unref (prefs->mark_pixmap);
- g_object_unref (prefs->mark_bitmap);
+ g_object_unref (prefs->mark_pixbuf);
G_OBJECT_CLASS (parent_class)->finalize (obj);
}