From 4787d12180462f0c1c90d3f38ece5921e7e31b7a Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Thu, 4 Sep 2025 20:32:37 -0400 Subject: [PATCH] Add g-s 49 as supported version --- metadata.json | 2 +- src/panelManager.js | 6 ++++++ src/transparency.js | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/metadata.json b/metadata.json index f2ce574..8b414e5 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "uuid": "dash-to-panel@jderose9.github.com", "name": "Dash to Panel", "description": "An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.\n\nFor a more traditional experience, you may also want to use Tweak Tool to enable Windows > Titlebar Buttons > Minimize & Maximize.\n\nFor the best support, please report any issues on Github. Dash-to-panel is developed and maintained by @jderose9 and @charlesg99.", - "shell-version": [ "46", "47", "48" ], + "shell-version": [ "46", "47", "48", "49" ], "url": "https://github.com/home-sweet-gnome/dash-to-panel", "gettext-domain": "dash-to-panel", "version": 9999, diff --git a/src/panelManager.js b/src/panelManager.js index d85ae5b..9e79a62 100755 --- a/src/panelManager.js +++ b/src/panelManager.js @@ -43,6 +43,7 @@ import Meta from 'gi://Meta' import Shell from 'gi://Shell' import St from 'gi://St' +import * as AppDisplay from 'resource:///org/gnome/shell/ui/appDisplay.js' import * as BoxPointer from 'resource:///org/gnome/shell/ui/boxpointer.js' import * as LookingGlass from 'resource:///org/gnome/shell/ui/lookingGlass.js' import * as Main from 'resource:///org/gnome/shell/ui/main.js' @@ -67,6 +68,11 @@ export const PanelManager = class { SETTINGS.get_string('primary-monitor'), ) + // g-s version 49 switched to clutter gestures + if (!AppDisplay.AppIcon.prototype._removeMenuTimeout) + AppDisplay.AppIcon.prototype._setPopupTimeout = + AppDisplay.AppIcon.prototype._removeMenuTimeout = () => {} + this.allPanels = [] this.dtpPrimaryMonitor = Main.layoutManager.monitors[dtpPrimaryIndex] || diff --git a/src/transparency.js b/src/transparency.js index f08733f..91b0d1a 100644 --- a/src/transparency.js +++ b/src/transparency.js @@ -264,7 +264,6 @@ export const DynamicTransparency = class { this._gradientStyle + this._borderStyle, ) - console.log('Set DTP Panel style to', this._dtpPanel.panel.get_style()) } _getThemeBackground(reload) {