![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnome-settings-daemon for openSUSE:Factory checked in at 2024-06-04 12:51:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-settings-daemon (Old) and /work/SRC/openSUSE:Factory/.gnome-settings-daemon.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-settings-daemon" Tue Jun 4 12:51:01 2024 rev:193 rq:1178363 version:46.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-settings-daemon/gnome-settings-daemon.changes 2024-04-25 20:47:52.291192244 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-settings-daemon.new.24587/gnome-settings-daemon.changes 2024-06-04 12:51:34.788803496 +0200 @@ -7,0 +8,7 @@ +Tue Apr 16 11:06:25 UTC 2024 - Joan Torres <joan.torres@suse.com> + +- Add gnome-settings-daemon-stop-service-when-no-network.patch + Fix to enable remote login. + Allows the g-r-d handover service to be started on wifi network. + +------------------------------------------------------------------- New: ---- gnome-settings-daemon-stop-service-when-no-network.patch BETA DEBUG BEGIN: New: - Add gnome-settings-daemon-stop-service-when-no-network.patch Fix to enable remote login. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-settings-daemon.spec ++++++ --- /var/tmp/diff_new_pack.lpxnk7/_old 2024-06-04 12:51:36.020848205 +0200 +++ /var/tmp/diff_new_pack.lpxnk7/_new 2024-06-04 12:51:36.024848350 +0200 @@ -44,6 +44,8 @@ Patch1: gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch # PATCH-FIX-UPSTREAM gnome-settings-daemon-bgo793253.patch bgo#793253 dimstar@opensuse.org -- Fix no-return-in-nonvoid-function Patch2: gnome-settings-daemon-bgo793253.patch +# PATCH-FIX-UPSTREAM gnome-settings-daemon-stop-service-when-no-network.patch [merged] joan.torres@suse.com -- Stop assigned services only when no network connection +Patch3: gnome-settings-daemon-stop-service-when-no-network.patch ## SLE/LEAP-only patches start at 1000 # PATCH-FEATURE-OPENSUSE gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 hpj@suse.com -- notify user about auto suspend when returning from sleep ++++++ gnome-settings-daemon-stop-service-when-no-network.patch ++++++ From 9a1c14127fd135a6bf6abbf5d57ae1a2961bf4d0 Mon Sep 17 00:00:00 2001 From: Joan Torres <joan.torres@suse.com> Date: Thu, 4 Apr 2024 13:40:02 +0200 Subject: [PATCH] sharing: Stop assigned services only when no network connection This allows grd handover service to be started even with network access through a mobile device or when the network access is from Wi-Fi. --- plugins/sharing/gsd-sharing-manager.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/sharing/gsd-sharing-manager.c b/plugins/sharing/gsd-sharing-manager.c index 7713569f..2ab2cb05 100644 --- a/plugins/sharing/gsd-sharing-manager.c +++ b/plugins/sharing/gsd-sharing-manager.c @@ -297,7 +297,7 @@ start_assigned_service (GsdSharingManager *manager, { AssignedService *service; - if (manager->sharing_status != GSD_SHARING_STATUS_AVAILABLE) + if (manager->sharing_status == GSD_SHARING_STATUS_OFFLINE) return; if (!info->system_service_running) @@ -414,10 +414,10 @@ gsd_sharing_manager_sync_assigned_services (GsdSharingManager *manager) for (l = services; l != NULL; l = l->next) { AssignedServiceInfo *info = l->data; - if (manager->sharing_status == GSD_SHARING_STATUS_AVAILABLE) - start_assigned_service (manager, info); - else + if (manager->sharing_status == GSD_SHARING_STATUS_OFFLINE) stop_assigned_service (manager, info); + else + start_assigned_service (manager, info); } g_list_free (services); } -- 2.44.0