gnome-shell/subprojects
Florian Müllner e75a2ca146 extensions-app: Only change state if necessary
The `state-set` signal is emitted to change the underlying state,
which can have two reasons:

 1. the user toggled the switch
 2. the extension's `enabled` state changed externally

In the second case, calling enable/disable is pointless at best,
and can mess up the expected state by permanently disabling an
extension that was disabled because of the global kill switch.

Address this by only calling enable/disable if the new state does
not already match the current value of the `enabled` property.

Close https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7305

Fixes: fec523f83f ("extensions-app: Use new 'enabled' property")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3090>
2024-01-07 10:02:23 +00:00
..
extensions-app extensions-app: Only change state if necessary 2024-01-07 10:02:23 +00:00
extensions-tool extensions-tool/list: Allow filtering by (in)active state 2024-01-03 20:05:05 +00:00
gvc@000046e887 subprojects/gjc: Update to lastest master 2023-07-23 11:55:41 +00:00
shew Bump version to 45.0 2023-09-16 20:27:58 +02:00
gi-docgen.wrap doc: Switch documentation to gi-docgen 2023-12-13 14:52:48 +01:00