[evolution-patches] another font prefs



Remove warning and refernces to fonts prefs.

--Larry
Index: mail-config-factory.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-config-factory.c,v
retrieving revision 1.13
diff -u -p -r1.13 mail-config-factory.c
--- mail-config-factory.c	22 Feb 2003 00:44:47 -0000	1.13
+++ mail-config-factory.c	20 May 2003 14:05:01 -0000
@@ -30,9 +30,6 @@
 #include "mail-accounts.h"
 #include "mail-preferences.h"
 #include "mail-composer-prefs.h"
-#warning "mail-font-prefs"
-/*#include "mail-font-prefs.h"*/
-
 #include "mail-config-factory.h"
 
 #define CONFIG_CONTROL_FACTORY_ID "OAFIID:GNOME_Evolution_Mail_ConfigControlFactory"
@@ -82,15 +79,6 @@ mail_config_control_factory_cb (BonoboGe
 	} else if (!strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID)) {
 		prefs = mail_composer_prefs_new ();
 		data->apply = (ApplyFunc) mail_composer_prefs_apply;
-#warning "font prefs"
-/* & see below */
-#define MAIL_FONT_PREFS_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_FontPrefs_ConfigControl"
-	} else if (!strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID)) {
-#if 0
-		prefs = mail_font_prefs_new ();
-		data->apply = (ApplyFunc) mail_font_prefs_apply;
-#endif
-		return NULL;
 	} else {
 		g_assert_not_reached ();
 	}
@@ -108,10 +96,6 @@ mail_config_control_factory_cb (BonoboGe
 		MAIL_PREFERENCES (prefs)->control = control;
 	} else if (!strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID)) {
 		MAIL_COMPOSER_PREFS (prefs)->control = control;
-	} else if (!strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID)) {
-#if 0
-		MAIL_FONT_PREFS (prefs)->control = control;
-#endif
 	} else {
 		g_assert_not_reached ();
 	}
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2730
diff -u -p -r1.2730 ChangeLog
--- ChangeLog	19 May 2003 15:12:10 -0000	1.2730
+++ ChangeLog	20 May 2003 14:05:07 -0000
@@ -1,3 +1,15 @@
+2003-05-20  Larry Ewing  <lewing ximian com>
+
+	* mail-config-factory.c: remove references to font prefs.
+
+	* component-factory.c: Remove stale refernces the the font prefs.
+	(make_factory): remove unused variables.
+
+	* mail-config.c (mail_config_init): add a notify callback to the
+	spelling color.
+	(config_write_style): rename and write out the spell color as
+	well.
+
 2003-05-20  Not Zed  <notzed lostzed mmc com au>
 
 	** See bug #43234


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