mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-09-19 18:05:25 +00:00
about: Switch to AdwAboutWindow
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/726>
This commit is contained in:
parent
36cd614310
commit
14362843c9
2 changed files with 14 additions and 18 deletions
|
@ -87,7 +87,7 @@ about_action (GSimpleAction *action,
|
||||||
|
|
||||||
const gchar *version = NULL;
|
const gchar *version = NULL;
|
||||||
|
|
||||||
static const gchar *authors[] = {
|
static const gchar *developers[] = {
|
||||||
"Adrien Plazas <kekun.plazas@laposte.net>",
|
"Adrien Plazas <kekun.plazas@laposte.net>",
|
||||||
"Bob Ham <rah@settrans.net>",
|
"Bob Ham <rah@settrans.net>",
|
||||||
"Guido Günther <agx@sigxcpu.org>",
|
"Guido Günther <agx@sigxcpu.org>",
|
||||||
|
@ -96,7 +96,7 @@ about_action (GSimpleAction *action,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
static const gchar *artists[] = {
|
static const gchar *designers[] = {
|
||||||
"Tobias Bernard <tbernard@gnome.org>",
|
"Tobias Bernard <tbernard@gnome.org>",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
@ -109,21 +109,16 @@ about_action (GSimpleAction *action,
|
||||||
version = g_str_equal (VCS_TAG, "") ?
|
version = g_str_equal (VCS_TAG, "") ?
|
||||||
PACKAGE_VERSION : PACKAGE_VERSION "-" VCS_TAG;
|
PACKAGE_VERSION : PACKAGE_VERSION "-" VCS_TAG;
|
||||||
|
|
||||||
/*
|
adw_show_about_window_from_appdata (GTK_WINDOW (self),
|
||||||
* “program-name” defaults to g_get_application_name().
|
"/org/gnome/Calls/org.gnome.Calls.metainfo.xml",
|
||||||
* Don’t set it explicitly so that there is one less
|
PACKAGE_VERSION, // must match a release in metainfo.xml
|
||||||
* string to translate.
|
"designers", designers,
|
||||||
*/
|
"developers", developers,
|
||||||
gtk_show_about_dialog (GTK_WINDOW (self),
|
"developer-name", "The GNOME Project",
|
||||||
"artists", artists,
|
|
||||||
"authors", authors,
|
|
||||||
"copyright", "Copyright © 2018 - 2022 Purism",
|
"copyright", "Copyright © 2018 - 2022 Purism",
|
||||||
"documenters", documenters,
|
"documenters", documenters,
|
||||||
"license-type", GTK_LICENSE_GPL_3_0,
|
|
||||||
"logo-icon-name", APP_ID,
|
|
||||||
"translator-credits", _("translator-credits"),
|
"translator-credits", _("translator-credits"),
|
||||||
"version", version,
|
"version", version,
|
||||||
"website", PACKAGE_URL,
|
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
</gresource>
|
</gresource>
|
||||||
<gresource prefix="/org/gnome/Calls/">
|
<gresource prefix="/org/gnome/Calls/">
|
||||||
<file>style.css</file>
|
<file>style.css</file>
|
||||||
|
<file>org.gnome.Calls.metainfo.xml</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
<gresource prefix="/org/gnome/Calls/icons/">
|
<gresource prefix="/org/gnome/Calls/icons/">
|
||||||
<file>call-arrow-incoming-symbolic.svg</file>
|
<file>call-arrow-incoming-symbolic.svg</file>
|
||||||
|
|
Loading…
Reference in a new issue