From 52fa45d4ca35e6be11ddee818eac84b768f15e22 Mon Sep 17 00:00:00 2001 From: grover92000 <96498785+grover92000@users.noreply.github.com> Date: Thu, 12 Jan 2023 17:55:35 +0100 Subject: Add GTK Style Class to context menu This fixes an issue when a monospace font is displayed instead of a proper one in mate-terminal context (right-click) menu. This fixes: https://github.com/mate-desktop/mate-terminal/issues/407 --- src/terminal-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/terminal-window.c b/src/terminal-window.c index aa5288f..53badc8 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -1555,6 +1555,8 @@ popup_clipboard_targets_received_cb (GtkClipboard *clipboard, NULL, NULL, info->button, info->timestamp); + gtk_style_context_add_class(gtk_widget_get_style_context (popup_menu), + GTK_STYLE_CLASS_CONTEXT_MENU); } static void -- cgit v1.2.1