Skip to content

Commit

Permalink
Fix issue "Usage of object.actor is deprecated" and officially suppor…
Browse files Browse the repository at this point in the history
…t GNOME Shell 3.38.
  • Loading branch information
Josholith committed Apr 18, 2021
1 parent d2b3969 commit 1791a37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const LanIpAddressIndicator = new Lang.Class({
text: 'Loading...',
y_align: Clutter.ActorAlign.CENTER
});
this.actor.add_child(this.buttonText);
this.add_child(this.buttonText);
this._updateLabel();
},

Expand Down Expand Up @@ -96,4 +96,4 @@ function disable() {
log('LAN IP Address extension disabled');
_indicator.stop();
_indicator.destroy();
}
}
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"description": "Show LAN IP address on GNOME panel. Do not show loopback addresses (127.0.0.0/8) or Docker networks.",
"name": "LAN IP Address",
"shell-version": [
"3.32",
"3.34",
"3.36"
"3.38"
],
"url": "https://github.com/Josholith/gnome-extension-lan-ip-address",
"uuid": "lan-ip-address@mrhuber.com",
"version": 5
"version": 6
}

0 comments on commit 1791a37

Please sign in to comment.