1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 03:51:53 +02:00
Files
guix/gnu/packages/patches/xdg-desktop-portal-1.20.3-disable-configuration-search-exit.patch
T
dan e498671958 gnu: Add xdg-desktop-portal-next.
* gnu/packages/freedesktop.scm (xdg-desktop-portal-next): New variable.
*
gnu/packages/patches/xdg-desktop-portal-1.20.3-disable-configuration-search-exit.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I83c7d1c174a258761988b4d234b6fc4a9228e36f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-12-19 00:05:44 +01:00

28 lines
954 B
Diff

From 37003d1f99246c88cbe7cf2f83616642e0fdf3fb Mon Sep 17 00:00:00 2001
From: Rodion Goritskov <rodion.goritskov@gmail.com>
Date: Fri, 27 Sep 2024 00:44:07 +0400
Subject: [PATCH] portal-impl: Check if there are any configuration files in XDG_DESKTOP_PORTAL_DIR before exiting configuration search
---
src/xdp-portal-impl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/xdp-portal-impl.c b/src/xdp-portal-impl.c
index 8c1fd53..8708409 100644
--- a/src/xdp-portal-impl.c
+++ b/src/xdp-portal-impl.c
@@ -438,9 +438,8 @@ load_portal_configuration (gboolean opt_verbose)
if (portal_dir != NULL)
{
- load_config_directory (portal_dir, desktops, opt_verbose);
- /* All other config directories are ignored when this is set */
- return;
+ if (load_config_directory (portal_dir, desktops, opt_verbose))
+ return;
}
/* $XDG_CONFIG_HOME/xdg-desktop-portal/(DESKTOP-)portals.conf */
--
2.46.0