aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-06-15 03:12:48 +0800
committerChris Toshok <toshok@src.gnome.org>2004-06-15 03:12:48 +0800
commita253044c8a4b6f56f2bae2500ab610469736e829 (patch)
treecba81059ac57ecca18aa2c9001a69cddd67a762b /addressbook/gui/contact-editor/e-contact-editor.c
parentdadf300d4578b0b2eb367520e31e353fafc7f448 (diff)
downloadgsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.tar
gsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.tar.gz
gsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.tar.bz2
gsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.tar.lz
gsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.tar.xz
gsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.tar.zst
gsoc2013-evolution-a253044c8a4b6f56f2bae2500ab610469736e829.zip
set things to HOME, since we don't offer TYPE=OTHER IM attributes through
2004-06-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (extract_im_record): set things to HOME, since we don't offer TYPE=OTHER IM attributes through the EContact api, and one choice is just as good as another if we aren't displaying it anyway. * gui/widgets/eab-contact-display.c (render_contact): move the IM stuff out of home/work, since we don't allow people to edit location for them anymore. Also, change the IM accounts we look up to "HOME", since that's what we hardcode them to in the contact editor. svn path=/trunk/; revision=26340
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index f0ec0a3a30..f9f1af9286 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -1459,7 +1459,7 @@ extract_im_record (EContactEditor *editor, gint record, gint *service, gchar **n
#ifdef ENABLE_IM_LOCATION
*location = gtk_option_menu_get_history (GTK_OPTION_MENU (location_option_menu));
#else
- *location = -1;
+ *location = 1; /* set everything to HOME */
#endif
}