I#1850 - Flatpak: Attachments cannot be opened
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1850
This commit is contained in:
parent
97cd791810
commit
44cec8e950
@ -369,6 +369,9 @@
|
|||||||
{
|
{
|
||||||
"name": "evolution",
|
"name": "evolution",
|
||||||
"buildsystem": "cmake-ninja",
|
"buildsystem": "cmake-ninja",
|
||||||
|
"build-options" : {
|
||||||
|
"cflags": "-DTEMP_HOME=1"
|
||||||
|
},
|
||||||
"config-opts": [
|
"config-opts": [
|
||||||
"-DENABLE_AUTOAR=OFF",
|
"-DENABLE_AUTOAR=OFF",
|
||||||
"-DENABLE_CONTACT_MAPS=OFF",
|
"-DENABLE_CONTACT_MAPS=OFF",
|
||||||
|
@ -368,6 +368,9 @@
|
|||||||
{
|
{
|
||||||
"name": "evolution",
|
"name": "evolution",
|
||||||
"buildsystem": "cmake-ninja",
|
"buildsystem": "cmake-ninja",
|
||||||
|
"build-options" : {
|
||||||
|
"cflags": "-DTEMP_HOME=1"
|
||||||
|
},
|
||||||
"config-opts": [
|
"config-opts": [
|
||||||
"-DENABLE_AUTOAR=OFF",
|
"-DENABLE_AUTOAR=OFF",
|
||||||
"-DENABLE_CONTACT_MAPS=OFF",
|
"-DENABLE_CONTACT_MAPS=OFF",
|
||||||
|
@ -38,7 +38,9 @@
|
|||||||
|
|
||||||
#define d(x)
|
#define d(x)
|
||||||
|
|
||||||
/* define to put temporary files in ~/evolution/cache/tmp */
|
/* define to put temporary files in ~/.cache/evolution/tmp/ */
|
||||||
|
/* Keep this for Flatpak builds, until glib allows access to in-sandbox /tmp
|
||||||
|
See https://gitlab.gnome.org/GNOME/glib/-/issues/2235 for more information */
|
||||||
/* #define TEMP_HOME */
|
/* #define TEMP_HOME */
|
||||||
|
|
||||||
/* how old things need to be to expire */
|
/* how old things need to be to expire */
|
||||||
|
@ -787,7 +787,7 @@ mail_display_open_attachment (EMailDisplay *display,
|
|||||||
attachment, default_app, (GAsyncReadyCallback)
|
attachment, default_app, (GAsyncReadyCallback)
|
||||||
e_attachment_open_handle_error, parent);
|
e_attachment_open_handle_error, parent);
|
||||||
|
|
||||||
g_object_unref (default_app);
|
g_clear_object (&default_app);
|
||||||
} else {
|
} else {
|
||||||
/* ...or save it */
|
/* ...or save it */
|
||||||
GList *attachments;
|
GList *attachments;
|
||||||
|
Loading…
Reference in New Issue
Block a user