BoxLayout meta child (expand/align) properties have long been depracated and recently fully removed in gnome shell 3.37.2 (!1274), in favor of ClutterActor's ones.
Embrace the change to provide compatibility with upcoming gnome shell 3.38 release
In Gnome 3.34 accessing <object>.actor results in a warning:
Usage of object.actor is deprecated for Freon_FreonMenuButton
get@resource:///org/gnome/shell/ui/environment.js:249:29
_init@[...]/freon@UshakovVasilii_Github.yahoo.com/extension.js:96:9
enable@[...]/freon@UshakovVasilii_Github.yahoo.com/extension.js:637:17
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:148:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:280:21
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:490:13
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:469:9
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:499:13
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:530:13
init@resource:///org/gnome/shell/ui/extensionSystem.js:48:9
_initializeUI@resource:///org/gnome/shell/ui/main.js:242:5
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:31
The actor property is no longer needed, as Freon_FreonMenuButton already
is an Actor.
Additionally, we only support old Gnome versions on the Freon versions of the
same era, so we do not need to worry about backwards compatibility (see #153).
Reported-by: @49studebaker
Fixes: #156 ("JS WARNING: " [...])
Related: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487 ("this.actor = this removal")
Let the user to chose where to place the extension button within each
panel box.
From the left (with default orientation, otherwise from the right) as:
- 0, first
- 1, second
- ...
- -1, last
Note: gschema compilation needed.
When a hwmon module was unloaded or crashed any sensors it had that were
also pinned to the panel (i.e. a 'hot sensor') retained the value
they had last, hiding the failure.
To fix that, this first clears all hot labels, replacing them with a
placeholder, before checking the new sensor data. The placeholder
chosen is ⚠ (\u26a0 warning sign), after some experimentation with other
alternatives.
For consistency, the placeholder used on initialization is also
changed.
I think it makes sense to call it the Freon wiki rather than the GitHub
wiki, because code hosting could change, and this wiki is specifically
all about Freon. And I think adding the "Go to" phrase both clarifies
what the button does, and also sorta invites the user to actually click
on the button.
And as for "Sensors Settings", this might be a little nit-picky, but you
don't *usually* pluralize a noun when it's acting as a modifier on
another noun.
To enable more debug logging without custom builds while still
maintaining a minimal syslog impact by default
- Add a settings variable 'debug', hidden from the user
- Use dconf to write/read it (suggest adding to the README and/or
wiki). Only for debugging purposes really
- When 'debug' is set it will enable the possibility of extra logging
- The new 'debug' function also adds in some meta data such as unique
syslog id instead of gnome-shell, file/func/line id to easier locate
in code
- Changed the Render all MenuItems and a couple of outcommented
updated logs to use the new debug function instead
Todo's before no longer WIP:
- Place it somewhere else than in this, cause I presume it wont be
reachable everywhere then
- Consider replacing regular log with something like this as well (to
gain the neat meta data (extension prefix, file, func, line))
- Think some more on the usage of log domains and if possible to turn
of more logging that way instead of dconf variable