[evolution] I#2051 - Mail: Hide print Preview in the menu
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#2051 - Mail: Hide print Preview in the menu
- Date: Thu, 29 Sep 2022 07:41:17 +0000 (UTC)
commit 30790624f6093ceffc340dd84d818089caa19c86
Author: Milan Crha <mcrha redhat com>
Date: Thu Sep 29 09:40:41 2022 +0200
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 (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]