arelange / gnome-shell-extension-hibernate-status

Gnome Shell extension that adds a hibernate/hybrid suspend button in Status menu.
GNU General Public License v2.0
155 stars 56 forks source link

Extension not working (assignment to undeclared variable extension at line 209) #1

Closed addadi closed 8 years ago

addadi commented 9 years ago

Hi, i'm using the extension from extensions.gnome.org site (version 4) with gnome-shell 3.12 and the hibernate button doesn't appear. I see in the gnome-session-GNOME.log the following line: Gjs-Message: JS WARNING: [/home/USERNAME/.local/share/gnome-shell/extensions/hibernate-status@dromi/extension.js 209]: assignment to undeclared variable extension To my understanding it means that it didn't succeed in creating an object from the Extension class and instantiate it. thanks

markkrj commented 9 years ago

Affecting me too

arelange commented 9 years ago

Removed gnome-shell 3.12 as supported in current version. Gnome website should now fallback 3.12 users to extension version 3.

fthiery commented 8 years ago

Hi

Having the same warning on 3.18, but it does work (button is displayed and has the expected effect).

gnome-session[693]: Gjs-Message: JS WARNING: [/usr/share/gnome-shell/extensions/hibernate-status@dromi/extension.js 209]: assignment to undeclared variable extension

arelange commented 8 years ago

Warning is fixed in commit 365a130