3 Commits
68.5 ... 68.7

Author SHA1 Message Date
Artyom Zorin
89fe8b9f4b Bump to version 68.7 2025-09-04 14:25:37 +01:00
Artyom Zorin
a4f86d41f8 Bump to version 68.5.3 2025-08-07 00:11:11 +01:00
Artyom Zorin
582b8b280b Bump to version 68.5.1 2025-08-05 22:50:54 +01:00
9 changed files with 71 additions and 10 deletions

30
debian/changelog vendored
View File

@@ -1,3 +1,33 @@
gnome-shell-extension-zorin-taskbar (68.7) noble; urgency=medium
* Adjusted window preview margin and rounding
-- Artyom Zorin <azorin@zoringroup.com> Thu, 04 Sep 2025 14:22:11 +0100
gnome-shell-extension-zorin-taskbar (68.6) noble; urgency=medium
* Introduced keep gnome shell dash option
-- Artyom Zorin <azorin@zoringroup.com> Sat, 23 Aug 2025 15:04:05 +0100
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

View File

@@ -100,6 +100,11 @@
<summary>Style of the running indicator (unfocused)</summary>
<description>Style of the running indicator for the icon for applications which are not currently focused</description>
</key>
<key type="b" name="stockgs-keep-dash">
<default>false</default>
<summary>Keep dash</summary>
<description>Whether to keep the stock gnome-shell dash while in overview</description>
</key>
<key type="b" name="stockgs-keep-top-panel">
<default>false</default>
<summary>Keep top panel</summary>

View File

@@ -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() {

View File

@@ -71,7 +71,7 @@ export const Overview = class {
this._signalsHandler.add([
SETTINGS,
['changed::panel-sizes'],
['changed::stockgs-keep-dash', 'changed::panel-sizes'],
() => this.toggleDash(),
])
}
@@ -91,7 +91,7 @@ export const Overview = class {
toggleDash(visible) {
if (visible === undefined) {
visible = false
visible = SETTINGS.get_boolean('stockgs-keep-dash')
}
let visibilityFunc = visible ? 'show' : 'hide'

View File

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

View File

@@ -1774,6 +1774,13 @@ const Preferences = class {
PanelSettings.getPanelLength(this._settings, this._currentMonitorIndex),
)
this._settings.bind(
'stockgs-keep-dash',
this._builder.get_object('stockgs_dash_switch'),
'active',
Gio.SettingsBindFlags.DEFAULT,
)
this._settings.bind(
'stockgs-keep-top-panel',
this._builder.get_object('stockgs_top_panel_switch'),

View File

@@ -137,7 +137,7 @@
.preview-container,
#preview-menu {
border-radius: 10px;
border-radius: 15px;
}
/* border radius, grrr no css variables in ST */

View File

@@ -48,7 +48,7 @@ const MIN_DIMENSION = 100
const FOCUSED_COLOR_OFFSET = 24
const FADE_SIZE = 36
const PEEK_INDEX_PROP = '_dtpPeekInitialIndex'
const MARGIN_SIZE = 8
const MARGIN_SIZE = 4
const SHOW_WINDOW_PREVIEWS_TIMEOUT = 400
const LEAVE_TIMEOUT = 250

View File

@@ -100,6 +100,17 @@
<child>
<object class="AdwPreferencesGroup" id="finetune_group_gnome">
<property name="title" translatable="yes">Gnome functionality</property>
<child>
<object class="AdwActionRow">
<property name="subtitle" translatable="yes">(overview)</property>
<property name="title" translatable="yes">Keep original gnome-shell dash</property>
<child>
<object class="GtkSwitch" id="stockgs_dash_switch">
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Keep original gnome-shell top panel</property>