mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Add g-s 49 as supported version
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"uuid": "dash-to-panel@jderose9.github.com",
|
"uuid": "dash-to-panel@jderose9.github.com",
|
||||||
"name": "Dash to Panel",
|
"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.",
|
"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",
|
"url": "https://github.com/home-sweet-gnome/dash-to-panel",
|
||||||
"gettext-domain": "dash-to-panel",
|
"gettext-domain": "dash-to-panel",
|
||||||
"version": 9999,
|
"version": 9999,
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ import Meta from 'gi://Meta'
|
|||||||
import Shell from 'gi://Shell'
|
import Shell from 'gi://Shell'
|
||||||
import St from 'gi://St'
|
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 BoxPointer from 'resource:///org/gnome/shell/ui/boxpointer.js'
|
||||||
import * as LookingGlass from 'resource:///org/gnome/shell/ui/lookingGlass.js'
|
import * as LookingGlass from 'resource:///org/gnome/shell/ui/lookingGlass.js'
|
||||||
import * as Main from 'resource:///org/gnome/shell/ui/main.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'),
|
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.allPanels = []
|
||||||
this.dtpPrimaryMonitor =
|
this.dtpPrimaryMonitor =
|
||||||
Main.layoutManager.monitors[dtpPrimaryIndex] ||
|
Main.layoutManager.monitors[dtpPrimaryIndex] ||
|
||||||
|
|||||||
@@ -264,7 +264,6 @@ export const DynamicTransparency = class {
|
|||||||
this._gradientStyle +
|
this._gradientStyle +
|
||||||
this._borderStyle,
|
this._borderStyle,
|
||||||
)
|
)
|
||||||
console.log('Set DTP Panel style to', this._dtpPanel.panel.get_style())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_getThemeBackground(reload) {
|
_getThemeBackground(reload) {
|
||||||
|
|||||||
Reference in New Issue
Block a user