From fc8ecf973ef4a506e7071993fd2b3092027d003b Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 23 Jun 2003 17:47:26 +0000 Subject: in the EUrlEntry case just reassign widget. it'll be handled by the 2003-06-18 Chris Toshok * gui/contact-editor/e-contact-editor.c (fill_in_field): in the EUrlEntry case just reassign widget. it'll be handled by the GtkEditable code below. Fixes #43841. svn path=/trunk/; revision=21514 --- addressbook/gui/contact-editor/e-contact-editor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index f2eb825e70..28443887f5 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2143,7 +2143,8 @@ fill_in_field(EContactEditor *editor, char *id, char *value) if (E_IS_URL_ENTRY (widget)) widget = e_url_entry_get_entry (E_URL_ENTRY (widget)); - else if (GTK_IS_TEXT_VIEW (widget)) { + + if (GTK_IS_TEXT_VIEW (widget)) { if (value) gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (widget)), value, strlen (value)); -- cgit v1.2.3