[gnome-logs/wip/cdavis/about-window: 13/13] application: Port about to AdwAboutWindow
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/cdavis/about-window: 13/13] application: Port about to AdwAboutWindow
- Date: Thu, 11 Aug 2022 17:20:52 +0000 (UTC)
commit 907f6475a0a960e454bfa19db3a5e1ca5d0d1157
Author: Christopher Davis <christopherdavis gnome org>
Date: Thu Jul 7 18:55:16 2022 -0400
application: Port about to AdwAboutWindow
meson.build | 2 +-
src/gl-application.c | 19 +++++++++++--------
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]