[evolution-patches] fix for bug #43241



-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
? 43241.patch
? composer.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.544
diff -u -r1.544 ChangeLog
--- ChangeLog	19 Jun 2003 16:59:02 -0000	1.544
+++ ChangeLog	24 Jun 2003 16:52:13 -0000
@@ -1,3 +1,9 @@
+2003-06-24  Jeffrey Stedfast  <fejj ximian com>
+
+	* e-msg-composer-hdrs.c (create_from_optionmenu): Don't include
+	accounts that are disabled in the From drop-down menu. Fixes bug
+	#43241.
+
 2003-06-19  Larry Ewing  <lewing ximian com>
 
 	* listener.c (insert_paragraph_after): free the return value.
Index: e-msg-composer-hdrs.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-hdrs.c,v
retrieving revision 1.114
diff -u -r1.114 e-msg-composer-hdrs.c
--- e-msg-composer-hdrs.c	17 Jun 2003 19:47:53 -0000	1.114
+++ e-msg-composer-hdrs.c	24 Jun 2003 16:52:13 -0000
@@ -317,7 +317,7 @@
 	while (e_iterator_is_valid (iter)) {
 		account = (EAccount *) e_iterator_get (iter);
 		
-		if (account->id->address)
+		if (account->enabled && account->id->address)
 			g_ptr_array_add (addresses, account->id->address);
 		
 		e_iterator_next (iter);


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