gnome-shell/js/misc
Florian Müllner 199b556b5d parentalControlsManager: Don't log error when disabled
We currently special-case the DISABLED error when initializing
filtering, but not on app filter changes.

While it seems reasonable that Malcontent.Manager wouldn't emit
the signal while disabled, that's not actually true: It is emitted
when any user account information tracked by AccountsServices
changes.

Even if the signal were limited to changes of the ParentalControls
extension, it would still get emitted when app filtering *becomes*
disabled.

So regardless of potential improvements in libmalcontent itself,
we should filter out the DISABLED consistently, both when creating
the initial filter and when updating it.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6749

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2796>
(cherry picked from commit 593f659a73)
2023-07-04 18:12:51 +02:00
..
config.js.in screenshot: Move HAVE_RECORDER check into screencast service 2022-11-04 09:51:20 +00:00
dbusUtils.js dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
extensionUtils.js extensionUtils: Add utility for setting the current extension 2022-07-06 13:40:44 -04:00
fileUtils.js fileUtils: Do not follow symlinks 2023-02-13 12:45:53 +01:00
gnomeSession.js endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
history.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
ibusManager.js ibusManager: Close candidate popup upon engine change 2023-06-01 17:51:35 +02:00
inputMethod.js inputMethod: Make set_surrounding() send also empty string 2023-02-13 16:58:11 +01:00
introspect.js introspect: Add WindowsChanged signal 2022-03-08 16:31:20 +00:00
jsParse.js cleanup: Remove empty leading/trailing lines in blocks 2020-11-16 18:04:23 +00:00
keyboardManager.js keyboard: Fix display keyboard layout crash with some input methods 2021-03-29 09:33:45 +00:00
loginManager.js loginManager: Fix canRebootToBootLoaderMenu() result 2022-09-06 20:57:49 +00:00
meson.build config: Check runtime dependencies at runtime 2022-05-20 12:00:22 +00:00
modemManager.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00
objectManager.js misc/objectManager: Fix emission of object-removed signal 2023-04-25 08:07:57 +00:00
params.js cleanup: Only omit braces for single-line blocks 2019-11-11 19:25:14 +00:00
parentalControlsManager.js parentalControlsManager: Don't log error when disabled 2023-07-04 18:12:51 +02:00
permissionStore.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
signals.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
signalTracker.js signalTracker: Remove SignalTracker after its last signal got untracked 2022-09-03 15:11:46 +00:00
smartcardManager.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
systemActions.js loginManager: Return objects instead of multiple booleans 2022-08-01 20:58:37 +02:00
util.js js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
weather.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00