I#2722 - EMailBrowser: Hide Print preview menu option
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2722
This commit is contained in:
@ -994,6 +994,11 @@ mail_browser_constructed (GObject *object)
|
||||
browser, "key-press-event",
|
||||
G_CALLBACK (mail_browser_key_press_event_cb), NULL);
|
||||
|
||||
/* WebKitGTK does not support print preview, thus hide the option from the menu;
|
||||
maybe it'll be supported in the future */
|
||||
action = e_mail_reader_get_action (reader, "mail-print-preview");
|
||||
gtk_action_set_visible (action, FALSE);
|
||||
|
||||
e_extensible_load_extensions (E_EXTENSIBLE (object));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user