Re: Patch to compose window to use user's selected message font



This seems like a good idea. It's been committed.

On Mon, 31 Jan 2000 21:24:34 Michael Johnson wrote:
> I'm attaching a little patch I wrote to make the compose window use the
> same font that the message window and preview pane use.
> 
> ..m
> *** sendmsg-window.c	Sat Jan 29 10:09:11 2000
> --- sendmsg-window.c	Sat Jan 29 10:10:36 2000
> ***************
> *** 519,525 ****
>     GtkStyle *style;
>   
>     style = gtk_style_new ();
> !   font = gdk_font_load ("-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso
859-1");
>     colormap = gtk_widget_get_colormap (GTK_WIDGET (msg->attachments));
>     style->font = font;
>   
> --- 519,525 ----
>     GtkStyle *style;
>   
>     style = gtk_style_new ();
> !   font = gdk_font_load (balsa_app.message_font);
>     colormap = gtk_widget_get_colormap (GTK_WIDGET (msg->attachments));
>     style->font = font;
>   

==============================
Peter Williams peter@newton.cx



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