summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-07-07 18:55:16 -0400
committerChristopher Davis <brainblasted@disroot.org>2022-08-19 16:50:16 +0000
commitedb9d4634d2587c6a030a4910ef6141a7500910a (patch)
tree5ec4f57b15c04103e2846fcb0d600c73e03f6ea3
parentedd9603dd1dbb704edcf2284175ef2bec6c1ac1b (diff)
downloadgnome-logs-edb9d4634d2587c6a030a4910ef6141a7500910a.tar.gz
application: Port about to AdwAboutWindow
-rw-r--r--meson.build2
-rw-r--r--src/gl-application.c19
2 files changed, 12 insertions, 9 deletions
diff --git a/meson.build b/meson.build
index 31d6731..ad9fb97 100644
--- a/meson.build
+++ b/meson.build
@@ -63,7 +63,7 @@ endif
gl_deps = [
dependency('gio-unix-2.0', version : '>=2.43.90'),
dependency('gtk4', version : '>=4.6.0'),
- dependency('libadwaita-1', version : '>=1.0.0'),
+ dependency('libadwaita-1', version : '>=1.2.alpha'),
dependency('libsystemd')
]
diff --git a/src/gl-application.c b/src/gl-application.c
index 57c5092..2067239 100644
--- a/src/gl-application.c
+++ b/src/gl-application.c
@@ -90,12 +90,12 @@ on_about (GSimpleAction *action,
{
GtkApplication *application;
GtkWindow *parent;
- static const gchar* artists[] = {
+ static const gchar* designers[] = {
"Jakub Steiner <jimmac@gmail.com>",
"Lapo Calamandrei <calamandrei@gmail.com>",
NULL
};
- static const gchar* authors[] = {
+ static const gchar* developers[] = {
"David King <davidk@gnome.org>",
"Jonathan Kang <jonathan121537@gmail.com>",
NULL
@@ -103,16 +103,19 @@ on_about (GSimpleAction *action,
application = GTK_APPLICATION (user_data);
parent = gtk_application_get_active_window (GTK_APPLICATION (application));
- gtk_show_about_dialog (parent,
- "authors", authors,
- "artists", artists,
+ adw_show_about_window (parent,
+ "application-name", _("Logs"),
+ "application-icon", "org.gnome.Logs",
+ "developer-name", _("The GNOME Project"),
+ "developers", developers,
+ "designers", designers,
"translator-credits", _("translator-credits"),
- "comments", _("View and search logs"),
"copyright", "Copyright © 2013–2015 Red Hat, Inc.\nCopyright © 2014-2015 Jonathan Kang",
"license-type", GTK_LICENSE_GPL_3_0,
- "logo-icon-name", "org.gnome.Logs",
"version", PACKAGE_VERSION,
- "website", PACKAGE_URL, NULL);
+ "website", PACKAGE_URL,
+ "issue-url", "https://gitlab.gnome.org/GNOME/gnome-logs/-/issues/new",
+ NULL);
}
static void