From 75f7b5688e6a55fe54c00def1ef0c59062f0b3b2 Mon Sep 17 00:00:00 2001 From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:32:25 -0500 Subject: [PATCH] Spices.py: Fix desklet reload after update when there are multiple instances (#11920) --- files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py b/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py index aa355ed6ca..04b20e09eb 100644 --- a/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py +++ b/files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py @@ -680,7 +680,9 @@ def install_from_folder(self, folder, uuid, from_spices=False): def _install_finished(self, job): uuid = job['uuid'] - if self.get_enabled(uuid): + if self.get_enabled(uuid) and self._proxy: + self._proxy.ReloadXlet('(ss)', uuid, self.collection_type.upper()) + else: self.send_proxy_signal('ReloadXlet', '(ss)', uuid, self.collection_type.upper()) def uninstall(self, uuid):