Skip to content

Commit

Permalink
Spices.py: Fix desklet reload after update when there are multiple in…
Browse files Browse the repository at this point in the history
…stances (linuxmint#11920)
  • Loading branch information
rcalixte authored Nov 22, 2023
1 parent 379013e commit 75f7b56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 75f7b56

Please sign in to comment.