aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/eab-gui-util.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-04-19 23:19:05 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-04-19 23:19:05 +0800
commitc13ea522069443479b5370d6bb0084b281272ef2 (patch)
tree39a68c387cffde755433bbc0db48d7a44d9cb54a /addressbook/gui/widgets/eab-gui-util.c
parentf4b4be936edef388577024f565b2f1643d4bd2f9 (diff)
downloadgsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.tar
gsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.tar.gz
gsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.tar.bz2
gsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.tar.lz
gsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.tar.xz
gsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.tar.zst
gsoc2013-evolution-c13ea522069443479b5370d6bb0084b281272ef2.zip
Set the default image for the contact photo to be the stock_person image
2004-04-19 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/contact-editor.glade: Set the default image for the contact photo to be the stock_person image in the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * gui/component/GNOME_Evolution_Addressbook.server.in.in: * gui/component/addressbook-component.c: * gui/component/addressbook-view.c: * gui/component/select-names/e-select-names-popup.c: * gui/contact-editor/e-contact-editor-address.c: * gui/contact-editor/e-contact-editor-fullname.c: * gui/contact-editor/e-contact-editor-im.c: * gui/contact-list-editor/contact-list-editor.glade: * gui/contact-list-editor/e-contact-list-editor.c: * gui/merging/eab-contact-commit-duplicate-detected.glade: * gui/merging/eab-contact-duplicate-detected.glade: * gui/widgets/e-minicard.c: * gui/widgets/eab-contact-display.c: * gui/widgets/eab-gui-util.c: Update the addressbook to use the icon theme via the EIconFactory object in e-util svn path=/trunk/; revision=25514
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.c')
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 14f446644f..eed07a3621 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -971,10 +971,7 @@ eab_create_image_chooser_widget(gchar *name,
char *filename;
GtkWidget *w = NULL;
if (string1) {
- if (*string1 == '/')
- filename = g_strdup(string1);
- else
- filename = g_build_filename (EVOLUTION_IMAGESDIR, string1, NULL);
+ filename = e_icon_factory_get_icon_filename (string1, 48);
w = e_image_chooser_new ();
e_image_chooser_set_from_file (E_IMAGE_CHOOSER (w), filename);