From a253044c8a4b6f56f2bae2500ab610469736e829 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 14 Jun 2004 19:12:48 +0000 Subject: set things to HOME, since we don't offer TYPE=OTHER IM attributes through 2004-06-14 Chris Toshok * 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 --- addressbook/gui/contact-editor/e-contact-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/contact-editor/e-contact-editor.c') 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 } -- cgit v1.2.3