Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4f86d41f8 | ||
|
|
582b8b280b |
18
debian/changelog
vendored
18
debian/changelog
vendored
@@ -1,3 +1,21 @@
|
||||
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
|
||||
|
||||
-- Artyom Zorin <azorin@zoringroup.com> Tue, 05 Aug 2025 22:47:20 +0100
|
||||
|
||||
gnome-shell-extension-zorin-taskbar (68.5) noble; urgency=medium
|
||||
|
||||
* Rebased on upstream commit 16e16c11ce08abc3c9f0bf922bbc08e17b2c1f08
|
||||
|
||||
@@ -36,7 +36,6 @@ const ZORIN_DASH_UUID = 'zorin-dash@zorinos.com'
|
||||
export const ZORIN_TILING_SHELL_UUID = 'zorin-tiling-shell@zorinos.com'
|
||||
|
||||
let panelManager
|
||||
let startupCompleteHandler
|
||||
let zorinDashDelayId = 0
|
||||
|
||||
export let DTP_EXTENSION = null
|
||||
@@ -59,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 {
|
||||
@@ -122,15 +127,20 @@ export default class ZorinTaskbarExtension extends Extension {
|
||||
|
||||
disable() {
|
||||
if (zorinDashDelayId) GLib.Source.remove(zorinDashDelayId)
|
||||
zorinDashDelayId = 0
|
||||
|
||||
panelManager.disable()
|
||||
panelManager?.disable()
|
||||
PanelSettings.clearCache()
|
||||
|
||||
DTP_EXTENSION = null
|
||||
SETTINGS = null
|
||||
TILINGSETTINGS = null
|
||||
SHELLSETTINGS = null
|
||||
DESKTOPSETTINGS = null
|
||||
TERMINALSETTINGS = null
|
||||
NOTIFICATIONSSETTINGS = null
|
||||
panelManager = null
|
||||
tracker = null
|
||||
|
||||
delete global.zorinTaskbar
|
||||
|
||||
@@ -138,10 +148,7 @@ export default class ZorinTaskbarExtension extends Extension {
|
||||
|
||||
AppIcons.resetRecentlyClickedApp()
|
||||
|
||||
if (startupCompleteHandler) {
|
||||
Main.layoutManager.disconnect(startupCompleteHandler)
|
||||
startupCompleteHandler = null
|
||||
}
|
||||
this._alreadyEnabled = false
|
||||
}
|
||||
|
||||
resetGlobalStyles() {
|
||||
|
||||
@@ -45,6 +45,7 @@ export var availableMonitors = []
|
||||
|
||||
export async function init(settings) {
|
||||
useCache = true
|
||||
cache = {}
|
||||
|
||||
await setMonitorsInfo(settings)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user