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:
committed by
Georges Basile Stavracas Neto
parent
704c0815a1
commit
0c8e1834f7
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/gnome/calendar">
|
||||
<file alias="appdata">@appid@.metainfo.xml</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
Reference in New Issue
Block a user