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