[console/wip/exalm/gtk4: 3/6] window: Port to AdwAboutWindow
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [console/wip/exalm/gtk4: 3/6] window: Port to AdwAboutWindow
- Date: Mon, 25 Jul 2022 12:56:02 +0000 (UTC)
commit 396c4ec71fd84a565f8884b800807c0cca1cfcf0
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Jul 20 05:54:57 2022 +0400
window: Port to AdwAboutWindow
src/kgx-window.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/src/kgx-window.c b/src/kgx-window.c
index 9ffab5e..a78ac19 100644
--- a/src/kgx-window.c
+++ b/src/kgx-window.c
@@ -484,23 +484,25 @@ about_activated (GSimpleAction *action,
GVariant *parameter,
gpointer data)
{
- const char *authors[] = { "Zander Brown <zbrown gnome org>", NULL };
- const char *artists[] = { "Tobias Bernard", NULL };
+ const char *developers[] = { "Zander Brown <zbrown gnome org>", NULL };
+ const char *designers[] = { "Tobias Bernard", NULL };
g_autofree char *copyright = NULL;
/* Translators: %s is the year range */
copyright = g_strdup_printf (_("© %s Zander Brown"), "2019-2021");
- gtk_show_about_dialog (GTK_WINDOW (data),
- "authors", authors,
- "artists", artists,
+ adw_show_about_window (GTK_WINDOW (data),
+ "application-name", _("Console"),
+ "application-icon", KGX_APPLICATION_ID,
+ "developer-name", _("Zander Brown"),
+ "issue-url", "https://gitlab.gnome.org/GNOME/console/-/issues/new",
+ "version", PACKAGE_VERSION,
+ "developers", developers,
+ "designers", designers,
/* Translators: Credit yourself here */
"translator-credits", _("translator-credits"),
"copyright", copyright,
"license-type", GTK_LICENSE_GPL_3_0,
- "logo-icon-name", KGX_APPLICATION_ID,
- "program-name", KGX_DISPLAY_NAME,
- "version", PACKAGE_VERSION,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]