extensions-app: Use new adaptive dialogs

We already fulfill all prerequisites of the new adaptive dialogs,
so the port is straight-forward and painless.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3148>
This commit is contained in:
Florian Müllner
2024-01-29 13:39:57 +01:00
parent d3e96a36ce
commit 0c705aefc1
2 changed files with 16 additions and 21 deletions

View File

@ -50,7 +50,7 @@ export const ExtensionRow = GObject.registerClass({
name: 'uninstall',
activate: () => {
this._detailsPopover.popdown();
this.get_root().uninstall(extension);
this.get_root().uninstall(extension).catch(logError);
},
enabledProp: 'is-user',
},