From 48ef5fbea36afba42e59c4775f3aa29b0f4404e7 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 29 Sep 2022 09:40:41 +0200 Subject: [PATCH] I#2051 - Mail: Hide print Preview in the menu Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2051 --- src/modules/mail/e-mail-shell-view-actions.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/mail/e-mail-shell-view-actions.c b/src/modules/mail/e-mail-shell-view-actions.c index b4b7d6cb40..4986c94161 100644 --- a/src/modules/mail/e-mail-shell-view-actions.c +++ b/src/modules/mail/e-mail-shell-view-actions.c @@ -2210,6 +2210,11 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) action_group, mail_popup_entries, G_N_ELEMENTS (mail_popup_entries)); + /* WebKitGTK does not support print preview, thus hide the option from the menu; + maybe it'll be supported in the future */ + action = ACTION (MAIL_PRINT_PREVIEW); + gtk_action_set_visible (action, FALSE); + /* Search Folder Actions */ action_group = ACTION_GROUP (SEARCH_FOLDERS); gtk_action_group_add_actions (