mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix taskbar lock on 3.34
This commit is contained in:
@@ -95,7 +95,7 @@ let tracker = Shell.WindowTracker.get_default();
|
||||
|
||||
var taskbarAppIcon = Utils.defineClass({
|
||||
Name: 'DashToPanel.TaskbarAppIcon',
|
||||
Extends: (Dash.DashIcon || AppDisplay.AppIcon),
|
||||
Extends: AppDisplay.AppIcon,
|
||||
ParentConstrParams: [[0, 'app'], [2]],
|
||||
|
||||
_init: function(appInfo, panel, iconParams, previewMenu) {
|
||||
@@ -1172,6 +1172,11 @@ var taskbarAppIcon = Utils.defineClass({
|
||||
return DND.DragMotionResult.CONTINUE;
|
||||
},
|
||||
|
||||
// Disable all DnD methods on gnome-shell 3.34
|
||||
_onDragBegin: function() {},
|
||||
_onDragEnd: function() {},
|
||||
acceptDrop: function() { return false; },
|
||||
|
||||
getAppIconInterestingWindows: function(isolateMonitors) {
|
||||
return getInterestingWindows(this.app, this.panel.monitor, isolateMonitors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user