about, appdata: Port to AdwAboutDialog.new_from_appdata

This removes a lot of duplicated code, as we can simply reuse the
appdata file. It will also allow us to add release notes without
needing to rewrite them. A simple update in the
`adw_about_dialog_new_from_appdata` method will take care of
displaying the release notes.

This also renames the appdata file from `appdata.xml` to
`metainfo.xml`, as `appdata.xml` is considered a legacy filename.
This commit is contained in:
Hari Rana
2024-04-26 12:56:14 +00:00
committed by Georges Basile Stavracas Neto
parent 704c0815a1
commit 0c8e1834f7
7 changed files with 36 additions and 21 deletions
-1
View File
@@ -1,5 +1,4 @@
subdir('icons')
subdir('appdata')
enum_headers = files(src_dir / 'gcal-enums.h')