[evolution-patches] fix for addressbook 43841



remove the "else" from this if, to mirror the way we handle the
UrlEntries elsewhere in the code.

Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1433
diff -u -r1.1433 ChangeLog
--- ChangeLog	14 Jun 2003 06:05:35 -0000	1.1433
+++ ChangeLog	19 Jun 2003 02:19:39 -0000
@@ -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:
Index: gui/contact-editor/e-contact-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-editor.c,v
retrieving revision 1.150
diff -u -r1.150 e-contact-editor.c
--- gui/contact-editor/e-contact-editor.c	14 Jun 2003 04:34:12 -0000	1.150
+++ gui/contact-editor/e-contact-editor.c	19 Jun 2003 02:19:40 -0000
@@ -2143,7 +2143,8 @@
 
 	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));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]