Skip to content

Commit

Permalink
Fix #137
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Christophe Baptiste committed Apr 25, 2020
1 parent 5deb234 commit 0263944
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions extension.js
Expand Up @@ -198,7 +198,7 @@ function createTray() {
}

function destroyTray() {
iconsContainer.actor.destroy();
iconsContainer.destroy();
iconsContainer = null;
iconsBoxLayout = null;
icons = [];
Expand Down Expand Up @@ -271,9 +271,9 @@ function moveToTray() {
iconsBoxLayout = null;
}
if (iconsContainer) {
if (iconsContainer.actor) {
iconsContainer.actor.destroy();
iconsContainer.actor = null;
if (iconsContainer) {
iconsContainer.destroy();
iconsContainer = null;
}
iconsContainer = null;
}
Expand Down
3 changes: 1 addition & 2 deletions metadata.json
Expand Up @@ -3,12 +3,11 @@
"name": "TopIcons Plus",
"gettext-domain": "TopIcons-Plus",
"shell-version": [
"3.32",
"3.34",
"3.36"
],
"settings-schema": "org.gnome.shell.extensions.topicons",
"url": "https://github.com/phocean/TopIcons-plus",
"uuid": "TopIcons@phocean.net",
"version": 25
"version": 27
}
Binary file modified schemas/gschemas.compiled
Binary file not shown.

0 comments on commit 0263944

Please sign in to comment.