Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89fe8b9f4b | ||
|
|
a4f86d41f8 | ||
|
|
582b8b280b |
30
debian/changelog
vendored
30
debian/changelog
vendored
@@ -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
|
gnome-shell-extension-zorin-taskbar (68.5) noble; urgency=medium
|
||||||
|
|
||||||
* Rebased on upstream commit 16e16c11ce08abc3c9f0bf922bbc08e17b2c1f08
|
* Rebased on upstream commit 16e16c11ce08abc3c9f0bf922bbc08e17b2c1f08
|
||||||
|
|||||||
@@ -100,6 +100,11 @@
|
|||||||
<summary>Style of the running indicator (unfocused)</summary>
|
<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>
|
<description>Style of the running indicator for the icon for applications which are not currently focused</description>
|
||||||
</key>
|
</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">
|
<key type="b" name="stockgs-keep-top-panel">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Keep top panel</summary>
|
<summary>Keep top panel</summary>
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ export const Overview = class {
|
|||||||
|
|
||||||
this._signalsHandler.add([
|
this._signalsHandler.add([
|
||||||
SETTINGS,
|
SETTINGS,
|
||||||
['changed::panel-sizes'],
|
['changed::stockgs-keep-dash', 'changed::panel-sizes'],
|
||||||
() => this.toggleDash(),
|
() => this.toggleDash(),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
@@ -91,7 +91,7 @@ export const Overview = class {
|
|||||||
|
|
||||||
toggleDash(visible) {
|
toggleDash(visible) {
|
||||||
if (visible === undefined) {
|
if (visible === undefined) {
|
||||||
visible = false
|
visible = SETTINGS.get_boolean('stockgs-keep-dash')
|
||||||
}
|
}
|
||||||
|
|
||||||
let visibilityFunc = visible ? 'show' : 'hide'
|
let visibilityFunc = visible ? 'show' : 'hide'
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1774,6 +1774,13 @@ const Preferences = class {
|
|||||||
PanelSettings.getPanelLength(this._settings, this._currentMonitorIndex),
|
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(
|
this._settings.bind(
|
||||||
'stockgs-keep-top-panel',
|
'stockgs-keep-top-panel',
|
||||||
this._builder.get_object('stockgs_top_panel_switch'),
|
this._builder.get_object('stockgs_top_panel_switch'),
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
|
|
||||||
.preview-container,
|
.preview-container,
|
||||||
#preview-menu {
|
#preview-menu {
|
||||||
border-radius: 10px;
|
border-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* border radius, grrr no css variables in ST */
|
/* border radius, grrr no css variables in ST */
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ const MIN_DIMENSION = 100
|
|||||||
const FOCUSED_COLOR_OFFSET = 24
|
const FOCUSED_COLOR_OFFSET = 24
|
||||||
const FADE_SIZE = 36
|
const FADE_SIZE = 36
|
||||||
const PEEK_INDEX_PROP = '_dtpPeekInitialIndex'
|
const PEEK_INDEX_PROP = '_dtpPeekInitialIndex'
|
||||||
const MARGIN_SIZE = 8
|
const MARGIN_SIZE = 4
|
||||||
|
|
||||||
const SHOW_WINDOW_PREVIEWS_TIMEOUT = 400
|
const SHOW_WINDOW_PREVIEWS_TIMEOUT = 400
|
||||||
const LEAVE_TIMEOUT = 250
|
const LEAVE_TIMEOUT = 250
|
||||||
|
|||||||
@@ -100,6 +100,17 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="AdwPreferencesGroup" id="finetune_group_gnome">
|
<object class="AdwPreferencesGroup" id="finetune_group_gnome">
|
||||||
<property name="title" translatable="yes">Gnome functionality</property>
|
<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>
|
<child>
|
||||||
<object class="AdwActionRow">
|
<object class="AdwActionRow">
|
||||||
<property name="title" translatable="yes">Keep original gnome-shell top panel</property>
|
<property name="title" translatable="yes">Keep original gnome-shell top panel</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user