aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-contact-display.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-18 03:09:40 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-18 03:09:40 +0800
commit2c71a3328a34e23efdc5b52529ef975c01370c7a (patch)
tree2782f783d832999aa44f2e2cb64ab6fc07a3c23c /addressbook/gui/widgets/eab-contact-display.c
parent9f58b3115eecdb0f4a4946638a577166eb849868 (diff)
downloadgsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.tar
gsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.tar.gz
gsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.tar.bz2
gsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.tar.lz
gsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.tar.xz
gsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.tar.zst
gsoc2013-evolution-2c71a3328a34e23efdc5b52529ef975c01370c7a.zip
Use an E_ICON_SIZE enum value for the icon_size argument to get_icon.
2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/widgets/e-minicard.c (e_minicard_init): Use an E_ICON_SIZE enum value for the icon_size argument to get_icon. * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): Use E_ICON_SIZE_DIALOG as the icon_size argument to get_icon_filename. * gui/widgets/eab-contact-display.c (on_url_requested): Use an E_ICON_SIZE enum as the icon_size argument to get_icon_filename. * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): Use E_ICON_SIZE_MENU here. * gui/component/select-names/e-select-names-popup.c (populate_popup_contact): Use E_ICON_SIZE_MENU here instead of 16. * gui/component/addressbook-view.c (set_status_message): Use the E_ICON_SIZE corresponding to 16x16 pixels. svn path=/trunk/; revision=25933
Diffstat (limited to 'addressbook/gui/widgets/eab-contact-display.c')
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index 1d4cc794b8..623b798089 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -23,6 +23,7 @@
#include "eab-contact-display.h"
#include "e-util/e-html-utils.h"
+#include "e-util/e-icon-factory.h"
#include <string.h>
#include <libgnome/gnome-i18n.h>
@@ -75,7 +76,7 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
gsize data_length;
gchar *filename;
- filename = e_icon_factory_get_icon_filename (url + strlen ("evo-icon:"), 16);
+ filename = e_icon_factory_get_icon_filename (url + strlen ("evo-icon:"), E_ICON_SIZE_MENU);
if (g_file_get_contents (filename, &data, &data_length, NULL)) {
gtk_html_stream_write (handle, data, data_length);
g_free (data);