mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
appDisplay: Remove shellWorkspaceLaunch()
It was deprecated in commit 942758bb30 back in 2019.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3195>
This commit is contained in:
parent
dc0690b761
commit
fbc7290bcf
1 changed files with 0 additions and 12 deletions
|
|
@ -3189,18 +3189,6 @@ export const AppIcon = GObject.registerClass({
|
|||
this.icon.animateZoomOutAtPos(x, y);
|
||||
}
|
||||
|
||||
shellWorkspaceLaunch(params) {
|
||||
let {stack} = new Error();
|
||||
log(`shellWorkspaceLaunch is deprecated, use app.open_new_window() instead\n${stack}`);
|
||||
|
||||
params = Params.parse(params, {
|
||||
workspace: -1,
|
||||
timestamp: 0,
|
||||
});
|
||||
|
||||
this.app.open_new_window(params.workspace);
|
||||
}
|
||||
|
||||
getDragActor() {
|
||||
return this.app.create_icon_texture(Main.overview.dash.iconSize);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue