The reason is that GtkMenu being spawned inside GtkTextView and the font-family property is inherited from parent. If GtkTextView is set to monospace font, GtkMenu also inherits that font.
The fix would be setting its value to initial. The following Gtk code does that:
The reason is that GtkMenu being spawned inside GtkTextView and the font-family property is inherited from parent. If GtkTextView is set to monospace font, GtkMenu also inherits that font.
The fix would be setting its value to initial. The following Gtk code does that:
.context-menu {
font: initial;
}
I don't know how it would be done programmatically, though: /gitlab. xfce.org/ apps/mousepad/ -/blob/ master/ mousepad/ mousepad- window. c#L3487
https:/