diff options
author | grover92000 <96498785+grover92000@users.noreply.github.com> | 2023-01-12 17:55:35 +0100 |
---|---|---|
committer | ssystems-wulbrich <wulbrich@ssystems.de> | 2023-01-16 12:20:01 +0100 |
commit | 3864ae2748282ca74c23fb311f3713a232f69fec (patch) | |
tree | de49f801e13adbd0252346487fcc22f29120877f /src | |
parent | 1cfb4b00e90b3c000f3cf938d5c4feb282f94afd (diff) | |
download | mate-terminal-3864ae2748282ca74c23fb311f3713a232f69fec.tar.bz2 mate-terminal-3864ae2748282ca74c23fb311f3713a232f69fec.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c index 9b50490..3fabc6b 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -1554,6 +1554,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 |