[polari] app: Switch to Adw.AboutWindow
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] app: Switch to Adw.AboutWindow
- Date: Sat, 9 Jul 2022 20:27:17 +0000 (UTC)
commit 4ec0db3f1b4932b7a360ab9d507ed9233c18eb85
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jul 7 19:59:01 2022 +0200
app: Switch to Adw.AboutWindow
libadwaita recently added an AboutDialog alternative that isn't
just adaptive, but can also be more opinionated in its design
language than GTK.
Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/256>
src/application.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 4525fc82..a47e9fbc 100644
--- a/src/application.js
+++ b/src/application.js
@@ -824,7 +824,7 @@ class Application extends Adw.Application {
_onShowAbout() {
let aboutParams = {
- authors: [
+ developers: [
'Florian Müllner <fmuellner gnome org>',
'William Jon McCann <william jon mccann gmail com>',
'Carlos Soriano <carlos soriano89 gmail com>',
@@ -853,16 +853,16 @@ class Application extends Adw.Application {
comments: _('An Internet Relay Chat Client for GNOME'),
copyright: 'Copyright © 2013-2018 The Polari authors',
license_type: Gtk.License.GPL_2_0,
- logo_icon_name: 'org.gnome.Polari',
+ application_icon: 'org.gnome.Polari',
version: pkg.version,
- website_label: _('Learn more about Polari'),
+ issue_url: 'https://gitlab.gnome.org/GNOME/polari/-/issues',
website: 'https://wiki.gnome.org/Apps/Polari',
transient_for: this.active_window,
modal: true,
};
- const aboutDialog = new Gtk.AboutDialog(aboutParams);
+ const aboutDialog = new Adw.AboutWindow(aboutParams);
aboutDialog.show();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]