diff options
author | Michael Terry <mike@mterry.name> | 2004-04-19 23:20:48 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-04-19 23:20:48 +0800 |
commit | 69bf3985321f43107a694855c764500c89b05deb (patch) | |
tree | 710f94bb8dd3378e397b94cf51a46d2f8dfbd293 /mail/message-tag-followup.c | |
parent | cc309ba614fec0dca286fd20d97ab511654a331f (diff) | |
download | gsoc2013-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/message-tag-followup.c')
-rw-r--r-- | mail/message-tag-followup.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/mail/message-tag-followup.c b/mail/message-tag-followup.c index 404522f1f3..45794520ca 100644 --- a/mail/message-tag-followup.c +++ b/mail/message-tag-followup.c @@ -43,11 +43,11 @@ #include <gconf/gconf.h> #include <gconf/gconf-client.h> -#include <libgnomeui/gnome-window-icon.h> #include <libgnomeui/gnome-pixmap.h> #include "message-tag-followup.h" #include "mail-config.h" +#include <e-util/e-icon-factory.h> static void message_tag_followup_class_init (MessageTagFollowUpClass *class); static void message_tag_followup_init (MessageTagFollowUp *followup); @@ -276,10 +276,18 @@ construct (MessageTagEditor *editor) GtkWidget *widget; GList *strings; GladeXML *gui; + GList *icon_list; + GdkPixbuf *pixbuf; int i; gtk_window_set_title (GTK_WINDOW (editor), _("Flag to Follow Up")); - gnome_window_icon_set_from_file (GTK_WINDOW (editor), EVOLUTION_IMAGES "/flag-for-followup-16.png"); + + icon_list = e_icon_factory_get_icon_list ("stock_mail-flag-for-followup"); + if (icon_list) { + gtk_window_set_icon_list (GTK_WINDOW (editor), icon_list); + g_list_foreach (icon_list, (GFunc) g_object_unref, NULL); + g_list_free (icon_list); + } gtk_dialog_set_has_separator (GTK_DIALOG (editor), FALSE); gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (editor)->vbox), 0); @@ -294,7 +302,9 @@ construct (MessageTagEditor *editor) gtk_box_set_child_packing (GTK_BOX (GTK_DIALOG (editor)->vbox), widget, TRUE, TRUE, 6, GTK_PACK_START); widget = glade_xml_get_widget (gui, "pixmap"); - gtk_image_set_from_file ((GtkImage *)widget, EVOLUTION_GLADEDIR "/flag-for-followup-48.png"); + pixbuf = e_icon_factory_get_icon ("stock_mail-flag-for-followup", 48); + gtk_image_set_from_pixbuf ((GtkImage *)widget, pixbuf); + g_object_unref (pixbuf); followup->message_list = GTK_TREE_VIEW (glade_xml_get_widget (gui, "message_list")); model = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING); |