Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/bazaar.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<file preprocess="xml-stripblanks">main-config-schema.xml</file>
<file preprocess="xml-stripblanks">bz-content-provider-config-schema.xml</file>
<file>release-notes.xml</file>

<file>countries.json</file>

Expand Down
11 changes: 11 additions & 0 deletions src/bz-application.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ bz_application_about_action (GSimpleAction *action,
BzApplication *self = user_data;
GtkWindow *window = NULL;
AdwDialog *dialog = NULL;
g_autoptr(GBytes) release_notes_bytes = NULL;
const char *release_notes_text = NULL;

const char *developers[] = {
C_ ("About Dialog Developer Credit", "Adam Masciola <kolunmi@posteo.net>"),
Expand All @@ -487,6 +489,14 @@ bz_application_about_action (GSimpleAction *action,
window = gtk_application_get_active_window (GTK_APPLICATION (self));
dialog = adw_about_dialog_new ();

release_notes_bytes = g_resources_lookup_data (
"/io/github/kolunmi/Bazaar/release-notes.xml",
G_RESOURCE_LOOKUP_FLAGS_NONE,
NULL);

if (release_notes_bytes != NULL)
release_notes_text = g_bytes_get_data (release_notes_bytes, NULL);

g_object_set (
dialog,
"application-name", "Bazaar",
Expand All @@ -500,6 +510,7 @@ bz_application_about_action (GSimpleAction *action,
"license-type", GTK_LICENSE_GPL_3_0,
"website", "https://github.com/kolunmi/bazaar",
"issue-url", "https://github.com/kolunmi/bazaar/issues",
"release-notes", release_notes_text,
NULL);

adw_dialog_present (dialog, GTK_WIDGET (window));
Expand Down
8 changes: 8 additions & 0 deletions src/release-notes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<p>This release comes with the following improvements:</p>
<ul>
<li>Add "On the go" section and mobile category</li>
<li>Greatly decrease reported memory usage</li>
<li>Rework search UI</li>
<li>Rework page stack navigation</li>
<li>Change screenshot dialog to page</li>
</ul>