[evolution/gnome-3-38] Mail: Disable 'Export to PDF' on drag & drop
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-38] Mail: Disable 'Export to PDF' on drag & drop
- Date: Thu, 5 Nov 2020 18:43:02 +0000 (UTC)
commit 1da86a61414784ff85ce713a8536727c5a5ec5e0
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 2d3c03dbc2..eb8418b007 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]