[balsa/gtk3] New override font API



commit e512f140b2114d12a9311f11ea16faa685c1ed07
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Jan 17 22:23:23 2011 -0500

    New override font API
    
    	* src/sendmsg-window.c (create_email_or_string_entry): new
    	override font API.

 ChangeLog            |    5 +++++
 src/sendmsg-window.c |    4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6cc0fa8..7688e9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-01-17  Peter Bloomfield
 
+	* src/sendmsg-window.c (create_email_or_string_entry): new
+	override font API.
+
+2011-01-17  Peter Bloomfield
+
 	* src/balsa-mime-widget-image.c (bmwi_context_changed_cb),
 	(balsa_mime_widget_new_image): set background color from
 	viewport.
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index e2785eb..97b54e8 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -2598,9 +2598,7 @@ create_email_or_string_entry(GtkWidget * table, const gchar * label,
 		     GTK_FILL, GTK_FILL | GTK_SHRINK, 0, 0);
 
     desc = pango_font_description_from_string(balsa_app.message_font);
-#if 0
-    gtk_widget_modify_font(arr[1], desc);
-#endif
+    gtk_widget_override_font(arr[1], desc);
     pango_font_description_free(desc);
 
     gtk_table_attach(GTK_TABLE(table), arr[1], 1, 2, y_pos, y_pos + 1,



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