aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs_common.c')
-rw-r--r--src/prefs_common.c5
1 files changed, 5 insertions, 0 deletions
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