[evolution-patches] fix for empty-subject prompt (it was doing the exact opposite of the setting)



-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2733
diff -u -r1.2733 ChangeLog
--- ChangeLog	20 May 2003 18:33:31 -0000	1.2733
+++ ChangeLog	20 May 2003 19:17:42 -0000
@@ -1,3 +1,12 @@
+2003-05-20  Jeffrey Stedfast  <fejj ximian com>
+
+	* mail-callbacks.c (ask_confirm_for_empty_subject): Fixed the
+	logic a bit - if the gconf key *isn't* set, we want to return
+	TRUE.
+
+	* mail-search.c (mail_search_finalise): We need to weak_unref()
+	the mail-display here. Fixes bug #43392.
+
 2003-05-20  Larry Ewing  <lewing ximian com>
 
 	* mail-composer-prefs.c: remove references to gtkhtml property
Index: mail-callbacks.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-callbacks.c,v
retrieving revision 1.443
diff -u -r1.443 mail-callbacks.c
--- mail-callbacks.c	19 May 2003 12:44:31 -0000	1.443
+++ mail-callbacks.c	20 May 2003 19:17:43 -0000
@@ -281,7 +281,7 @@
 	
 	gconf = gconf_client_get_default ();
 	
-	if (gconf_client_get_bool (gconf, "/apps/evolution/mail/prompts/empty_subject", NULL))
+	if (!gconf_client_get_bool (gconf, "/apps/evolution/mail/prompts/empty_subject", NULL))
 		return TRUE;
 	
 	res = e_question ((GtkWindow *) composer, GTK_RESPONSE_YES, &show_again,


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