Index: mail/em-mailer-prefs.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-mailer-prefs.c,v
retrieving revision 1.39
diff -u -p -r1.39 em-mailer-prefs.c
--- mail/em-mailer-prefs.c	9 Aug 2006 08:43:27 -0000	1.39
+++ mail/em-mailer-prefs.c	11 Nov 2006 13:27:03 -0000
@@ -36,8 +36,8 @@
 #include <bonobo/bonobo-generic-factory.h>
 
 #include <libgnomeui/gnome-color-picker.h>
-#include <libgnomeui/gnome-font-picker.h>
 #include <gtk/gtkfilechooserbutton.h>
+#include <gtk/gtkfontbutton.h>
 
 #include <glade/glade.h>
 
@@ -535,12 +535,14 @@ custom_font_changed (GtkToggleButton *to
 }
 
 static void
-font_changed (GnomeFontPicker *fontpicker, const char *arg1, EMMailerPrefs *prefs)
+font_changed (GtkFontButton *font_button, EMMailerPrefs *prefs)
 {
-	const char *key;
+	const gchar *key;
+	const gchar *font_name;
 	
-	key = g_object_get_data ((GObject *) fontpicker, "key");
-	gconf_client_set_string (prefs->gconf, key, gnome_font_picker_get_font_name (fontpicker), NULL);
+	key = g_object_get_data (G_OBJECT (font_button), "key");
+	font_name = gtk_font_button_get_font_name (font_button);
+	gconf_client_set_string (prefs->gconf, key, font_name, NULL);
 }
 
 static void
@@ -841,8 +843,8 @@ em_mailer_prefs_construct (EMMailerPrefs
 	
 	/* Mail  Fonts */
 	font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/monospace", NULL);
-	prefs->font_fixed = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontFixed"));
-	gnome_font_picker_set_font_name (prefs->font_fixed, font);
+	prefs->font_fixed = GTK_FONT_BUTTON (glade_xml_get_widget (gui, "FontFixed"));
+	gtk_font_button_set_font_name (prefs->font_fixed, font);
 	g_free (font);
 	g_object_set_data ((GObject *) prefs->font_fixed, "key", "/apps/evolution/mail/display/fonts/monospace");
 	g_signal_connect (prefs->font_fixed, "font-set", G_CALLBACK (font_changed), prefs);
@@ -850,8 +852,8 @@ em_mailer_prefs_construct (EMMailerPrefs
 		gtk_widget_set_sensitive ((GtkWidget *) prefs->font_fixed, FALSE);
 	
 	font = gconf_client_get_string (prefs->gconf, "/apps/evolution/mail/display/fonts/variable", NULL);
-	prefs->font_variable = GNOME_FONT_PICKER (glade_xml_get_widget (gui, "FontVariable"));
-	gnome_font_picker_set_font_name (prefs->font_variable, font);
+	prefs->font_variable = GTK_FONT_BUTTON (glade_xml_get_widget (gui, "FontVariable"));
+	gtk_font_button_set_font_name (prefs->font_variable, font);
 	g_free (font);
 	g_object_set_data ((GObject *) prefs->font_variable, "key", "/apps/evolution/mail/display/fonts/variable");
 	g_signal_connect (prefs->font_variable, "font-set", G_CALLBACK (font_changed), prefs);
Index: mail/em-mailer-prefs.h
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-mailer-prefs.h,v
retrieving revision 1.15
diff -u -p -r1.15 em-mailer-prefs.h
--- mail/em-mailer-prefs.h	25 May 2006 04:59:47 -0000	1.15
+++ mail/em-mailer-prefs.h	11 Nov 2006 13:27:03 -0000
@@ -39,7 +39,7 @@ struct _GtkWidget;
 struct _GladeXML;
 struct _GnomeColorPicker;
 struct _GtkFileChooserbutton;
-struct _GnomeFontPicker;
+struct _GtkFontButton;
 struct _GConfClient;
 struct _GtkButton;
 struct _GtkTreeView;
@@ -92,8 +92,8 @@ struct _EMMailerPrefs {
 	struct _GtkFileChooserButton *notify_sound_file;
 	
 	/* HTML Mail tab */
-	struct _GnomeFontPicker *font_variable;
-	struct _GnomeFontPicker *font_fixed;
+	struct _GtkFontButton *font_variable;
+	struct _GtkFontButton *font_fixed;
 	struct _GtkToggleButton *font_share;
 	
 	/* Loading Images */
Index: mail/mail-config.glade
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-config.glade,v
retrieving revision 1.174
diff -u -p -r1.174 mail-config.glade
--- mail/mail-config.glade	19 Jul 2006 15:26:27 -0000	1.174
+++ mail/mail-config.glade	11 Nov 2006 13:27:10 -0000
@@ -3342,7 +3342,7 @@ For example: &quot;Work&quot; or &quot;P
 		      <child>
 			<widget class="GtkLabel" id="label583">
 			  <property name="visible">True</property>
-			 <property name="label" translatable="yes">S_end message receipts:</property>
+			  <property name="label" translatable="yes">S_end message receipts:</property>
 			  <property name="use_underline">True</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -3352,8 +3352,8 @@ For example: &quot;Work&quot; or &quot;P
 			  <property name="yalign">0.5</property>
 			  <property name="xpad">0</property>
 			  <property name="ypad">0</property>
-			  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
 			  <property name="mnemonic_widget">receipt_policy_dropdown</property>
+			  <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
 			  <property name="width_chars">-1</property>
 			  <property name="single_line_mode">False</property>
 			  <property name="angle">0</property>
@@ -4700,14 +4700,14 @@ For example: &quot;Work&quot; or &quot;P
 			      </child>
 
 			      <child>
-				<widget class="GnomeFontPicker" id="FontFixed">
+				<widget class="GtkFontButton" id="FontFixed">
 				  <property name="visible">True</property>
 				  <property name="can_focus">True</property>
 				  <property name="title" translatable="yes">Select HTML fixed width font</property>
-				  <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
+				  <property name="show_style">True</property>
 				  <property name="show_size">True</property>
-				  <property name="use_font_in_label">False</property>
-				  <property name="label_font_size">14</property>
+				  <property name="use_font">False</property>
+				  <property name="use_size">False</property>
 				  <property name="focus_on_click">True</property>
 				  <signal name="font_set" handler="changed"/>
 				</widget>
@@ -4722,14 +4722,14 @@ For example: &quot;Work&quot; or &quot;P
 			      </child>
 
 			      <child>
-				<widget class="GnomeFontPicker" id="FontVariable">
+				<widget class="GtkFontButton" id="FontVariable">
 				  <property name="visible">True</property>
 				  <property name="can_focus">True</property>
 				  <property name="title" translatable="yes">Select HTML variable width font</property>
-				  <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
+				  <property name="show_style">True</property>
 				  <property name="show_size">True</property>
-				  <property name="use_font_in_label">False</property>
-				  <property name="label_font_size">14</property>
+				  <property name="use_font">False</property>
+				  <property name="use_size">False</property>
 				  <property name="focus_on_click">True</property>
 				  <signal name="font_set" handler="changed"/>
 				</widget>
@@ -6572,7 +6572,7 @@ For example: &quot;Work&quot; or &quot;P
 		      <child>
 			<widget class="GtkLabel" id="label571">
 			  <property name="visible">True</property>
-			  <property name="label" translatable="no">    </property>
+			  <property name="label">    </property>
 			  <property name="use_underline">False</property>
 			  <property name="use_markup">False</property>
 			  <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -6675,7 +6675,7 @@ For example: &quot;Work&quot; or &quot;P
 		  <child>
 		    <widget class="GtkLabel" id="label572">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="no">    </property>
+		      <property name="label">    </property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">False</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -6731,7 +6731,7 @@ For example: &quot;Work&quot; or &quot;P
 			  <child>
 			    <widget class="GtkLabel" id="label575">
 			      <property name="visible">True</property>
-			      <property name="label" translatable="no">    </property>
+			      <property name="label">    </property>
 			      <property name="use_underline">False</property>
 			      <property name="use_markup">False</property>
 			      <property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -8484,14 +8484,14 @@ For example: &quot;Work&quot; or &quot;P
 		  </child>
 
 		  <child>
-		    <widget class="GnomeFontPicker" id="print_fixed">
+		    <widget class="GtkFontButton" id="print_fixed">
 		      <property name="visible">True</property>
 		      <property name="can_focus">True</property>
 		      <property name="title" translatable="yes">Select HTML fixed width font for printing</property>
-		      <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
+		      <property name="show_style">True</property>
 		      <property name="show_size">True</property>
-		      <property name="use_font_in_label">False</property>
-		      <property name="label_font_size">14</property>
+		      <property name="use_font">False</property>
+		      <property name="use_size">False</property>
 		      <property name="focus_on_click">True</property>
 		      <signal name="font_set" handler="changed"/>
 		    </widget>
@@ -8506,14 +8506,14 @@ For example: &quot;Work&quot; or &quot;P
 		  </child>
 
 		  <child>
-		    <widget class="GnomeFontPicker" id="print_variable">
+		    <widget class="GtkFontButton" id="print_variable">
 		      <property name="visible">True</property>
 		      <property name="can_focus">True</property>
 		      <property name="title" translatable="yes">Select HTML variable width font for printing</property>
-		      <property name="mode">GNOME_FONT_PICKER_MODE_FONT_INFO</property>
+		      <property name="show_style">True</property>
 		      <property name="show_size">True</property>
-		      <property name="use_font_in_label">False</property>
-		      <property name="label_font_size">14</property>
+		      <property name="use_font">False</property>
+		      <property name="use_size">False</property>
 		      <property name="focus_on_click">True</property>
 		      <signal name="font_set" handler="changed"/>
 		    </widget>
