1 Commits

Author SHA1 Message Date
Artyom Zorin
a4f86d41f8 Bump to version 68.5.3 2025-08-07 00:11:11 +01:00
3 changed files with 22 additions and 0 deletions

12
debian/changelog vendored
View File

@@ -1,3 +1,15 @@
gnome-shell-extension-zorin-taskbar (68.5.3) noble; urgency=medium
* Added workaround for race condition
-- Artyom Zorin <azorin@zoringroup.com> Thu, 07 Aug 2025 00:09:07 +0100
gnome-shell-extension-zorin-taskbar (68.5.2) noble; urgency=medium
* Fixed settings cache issues
-- Artyom Zorin <azorin@zoringroup.com> Wed, 06 Aug 2025 23:45:25 +0100
gnome-shell-extension-zorin-taskbar (68.5.1) noble; urgency=medium
* Minor code cleanups

View File

@@ -58,6 +58,12 @@ export default class ZorinTaskbarExtension extends Extension {
}
async enable() {
// Workaround for race condition in GNOME Shell where enable() may be called multiple times
if (this._alreadyEnabled) {
return
}
this._alreadyEnabled = true
DTP_EXTENSION = this
SETTINGS = this.getSettings('org.gnome.shell.extensions.zorin-taskbar')
try {
@@ -124,6 +130,7 @@ export default class ZorinTaskbarExtension extends Extension {
zorinDashDelayId = 0
panelManager?.disable()
PanelSettings.clearCache()
DTP_EXTENSION = null
SETTINGS = null
@@ -140,6 +147,8 @@ export default class ZorinTaskbarExtension extends Extension {
this.disableGlobalStyles()
AppIcons.resetRecentlyClickedApp()
this._alreadyEnabled = false
}
resetGlobalStyles() {

View File

@@ -45,6 +45,7 @@ export var availableMonitors = []
export async function init(settings) {
useCache = true
cache = {}
await setMonitorsInfo(settings)
}