mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
extensions-app: Port about to AdwAboutWindow
libadwaita has a new About window, and GNOME apps are expected to use it going forward instead of GtkAboutDialog. Comments are meant to be detailed, and are no longer shown in the main view. So we remove the old comments. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2373>
This commit is contained in:
parent
9262ff5333
commit
f7b817a6a0
1 changed files with 12 additions and 7 deletions
|
|
@ -199,24 +199,29 @@ var ExtensionsWindow = GObject.registerClass({
|
|||
}
|
||||
|
||||
_showAbout() {
|
||||
let aboutDialog = new Gtk.AboutDialog({
|
||||
authors: [
|
||||
let aboutWindow = new Adw.AboutWindow({
|
||||
developers: [
|
||||
'Florian Müllner <fmuellner@gnome.org>',
|
||||
'Jasper St. Pierre <jstpierre@mecheye.net>',
|
||||
'Didier Roche <didrocks@ubuntu.com>',
|
||||
'Romain Vigier <contact@romainvigier.fr>',
|
||||
],
|
||||
designers: [
|
||||
'Allan Day <allanpday@gmail.com>',
|
||||
'Tobias Bernard <tbernard@gnome.org>',
|
||||
],
|
||||
translator_credits: _('translator-credits'),
|
||||
program_name: _('Extensions'),
|
||||
comments: _('Manage your GNOME Extensions'),
|
||||
application_name: _('Extensions'),
|
||||
license_type: Gtk.License.GPL_2_0,
|
||||
logo_icon_name: Package.name,
|
||||
application_icon: Package.name,
|
||||
version: Package.version,
|
||||
developer_name: _('The GNOME Project'),
|
||||
website: 'https://gitlab.gnome.org/GNOME/gnome-shell/-/tree/HEAD/subprojects/extensions-app',
|
||||
issue_url: 'https://gitlab.gnome.org/GNOME/gnome-shell/issues/new',
|
||||
|
||||
transient_for: this,
|
||||
modal: true,
|
||||
});
|
||||
aboutDialog.present();
|
||||
aboutWindow.present();
|
||||
}
|
||||
|
||||
_logout() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue