Skip to content

Commit

Permalink
Merge pull request #61 from mjakeman/hotfix-for-0.2.0
Browse files Browse the repository at this point in the history
hotfix: Check for null uuid
  • Loading branch information
mjakeman authored Jan 24, 2022
2 parents 9b174a8 + f4c3c5a commit 79a962e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# NEWS

## 0.2.1
Hotfix update

- Fixes crash when uninstalling extension
- Makes details-view more robust

## 0.2.0
First feature update to extension-manager

Expand Down
5 changes: 5 additions & 0 deletions data/com.mattjakeman.ExtensionManager.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
</keywords>
<translation type="gettext">extension-manager</translation>
<releases>
<release version="0.2.1" date="2022-01-24">
<description>
<p>Fixes a crash that sometimes occurs while uninstalling an extension</p>
</description>
</release>
<release version="0.2.0" date="2022-01-24">
<description>
<p>The first feature update to extension-manager. Highlights include:</p>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('extension-manager', 'c',
version: '0.2.0',
version: '0.2.1',
meson_version: '>= 0.50.0',
default_options: [ 'warning_level=2',
'c_std=gnu11',
Expand Down
2 changes: 1 addition & 1 deletion src/exm-application.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ exm_application_show_about (GSimpleAction *action,
"program-name", _("Extension Manager"),
"authors", authors,
"comments", _("A very simple tool for browsing, downloading, and managing GNOME shell extensions."),
"version", "0.2.0",
"version", "0.2.1",
"copyright", "Copyright © Matthew Jakeman 2021",
"license-type", GTK_LICENSE_GPL_3_0,
"logo-icon-name", "com.mattjakeman.ExtensionManager",
Expand Down
3 changes: 3 additions & 0 deletions src/exm-detail-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ exm_detail_view_load_for_uuid (ExmDetailView *self,
void
exm_detail_view_update (ExmDetailView *self)
{
if (!self->uuid)
return;

// Check if the newly installed extension is the
// one being displayed in this detail view
if (exm_manager_is_installed_uuid (self->manager, self->uuid))
Expand Down

0 comments on commit 79a962e

Please sign in to comment.