diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/textadept.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c index b24753d9..b4f58d3d 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2171,6 +2171,10 @@ static GtkWidget *new_combo( *entry = gtk_bin_get_child(GTK_BIN(combo)); gtk_entry_set_text(GTK_ENTRY(*entry), " "), gtk_entry_set_text(GTK_ENTRY(*entry), ""); // initialize with non-NULL + PangoFontDescription *font = pango_font_description_new(); + pango_font_description_set_family(font, "monospace"); + gtk_widget_modify_font(*entry, font); + pango_font_description_free(font); gtk_entry_set_activates_default(GTK_ENTRY(*entry), true); gtk_label_set_mnemonic_widget(GTK_LABEL(*label), *entry); return combo; |