[evolution] Mail: Disable 'Export to PDF' on drag & drop
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Mail: Disable 'Export to PDF' on drag & drop
- Date: Thu, 5 Nov 2020 18:41:34 +0000 (UTC)
commit a6be45d2dd00fec8c87e36fc7a4f1eb52641bf14
Author: Milan Crha <mcrha redhat com>
Date: Thu Nov 5 19:39:56 2020 +0100
Mail: Disable 'Export to PDF' on drag & drop
In doesn't work due to WebKitGTK bug:
https://bugs.webkit.org/show_bug.cgi?id=212814
Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/974
src/mail/em-utils.c | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/src/mail/em-utils.c b/src/mail/em-utils.c
index 71d8526e34..acc8c70854 100644
--- a/src/mail/em-utils.c
+++ b/src/mail/em-utils.c
@@ -980,8 +980,11 @@ em_utils_selection_set_urilist (GtkSelectionData *data,
gchar *tmpdir;
gchar *uri;
gint fd;
+ /* This is waiting for https://bugs.webkit.org/show_bug.cgi?id=212814 */
+ #if 0
GSettings *settings;
gchar *save_file_format;
+ #endif
gboolean save_as_mbox;
g_return_if_fail (uids != NULL);
@@ -994,6 +997,8 @@ em_utils_selection_set_urilist (GtkSelectionData *data,
if (tmpdir == NULL)
return;
+ /* This is waiting for https://bugs.webkit.org/show_bug.cgi?id=212814 */
+ #if 0
settings = e_util_ref_settings ("org.gnome.evolution.mail");
/* Save format is mbox unless pdf is explicitly requested. */
@@ -1003,6 +1008,9 @@ em_utils_selection_set_urilist (GtkSelectionData *data,
g_free (save_file_format);
g_object_unref (settings);
+ #else
+ save_as_mbox = TRUE;
+ #endif
if (save_as_mbox) {
CamelStream *fstream;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]