aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-06-24 01:47:26 +0800
committerChris Toshok <toshok@src.gnome.org>2003-06-24 01:47:26 +0800
commitfc8ecf973ef4a506e7071993fd2b3092027d003b (patch)
treec610a8786af6c8b91f0082d6b2d742e3822a97a6
parent04a964a4f6ec4980596d253b0cd746512aed619e (diff)
downloadgsoc2013-evolution-fc8ecf973ef4a506e7071993fd2b3092027d003b.tar.gz
gsoc2013-evolution-fc8ecf973ef4a506e7071993fd2b3092027d003b.tar.zst
gsoc2013-evolution-fc8ecf973ef4a506e7071993fd2b3092027d003b.zip
in the EUrlEntry case just reassign widget. it'll be handled by the
2003-06-18 Chris Toshok <toshok@ximian.com> * 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
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0797aecca0..58f834dbb4 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-18 Chris Toshok <toshok@ximian.com>
+
+ * 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.
+
2003-06-14 Larry Ewing <lewing@ximian.com>
* gui/backend/ebook/e-card-simple.c:
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));