From 04caa381622825b657ea042f9288518ed16fb7c1 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 2 Jun 2005 09:55:08 +0000 Subject: select current font when opening the font selection dialog. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@307 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_common.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/prefs_common.c b/src/prefs_common.c index 021f09ec..556a294f 100644 --- a/src/prefs_common.c +++ b/src/prefs_common.c @@ -3149,6 +3149,11 @@ static void prefs_font_select(GtkButton *button) FALSE); } + if (prefs_common.textfont) + gtk_font_selection_dialog_set_font_name + (GTK_FONT_SELECTION_DIALOG(font_sel_win), + prefs_common.textfont); + manage_window_set_transient(GTK_WINDOW(font_sel_win)); gtk_window_set_modal(GTK_WINDOW(font_sel_win), TRUE); gtk_widget_grab_focus -- cgit v1.2.3