malcontent/libmalcontent-ui
Philip Withnall 28992ac7f3 user-controls: Add a fallback bus connection
This is a hack to allow `MctUserControls` to be used from `GtkBuilder`
templates, where it’s not possible to pass construct-only properties in
to the `MctUserControls` constructor. It’s not feasible to make
`MctUserControls:dbus-connection` not construct-only, because it gets
used to construct an `MctManager` which then subscribes to various
signals.

So for the cases where `MctUserControls` is used from a builder
template, the code has to connect to the system bus manually, which is
possibly (though unlikely) a blocking operation.

This fixes a critical warning when enabling parental controls in
gnome-initial-setup.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-04-07 12:52:15 +01:00
..
gs-content-rating.c libmalcontent-ui: Move widgets over from malcontent-control 2020-02-04 11:36:58 +00:00
gs-content-rating.h libmalcontent-ui: Move widgets over from malcontent-control 2020-02-04 11:36:58 +00:00
malcontent-ui.gresource.xml user-controls: Add CSS to support styling switches as ‘restrictive’ 2020-02-25 12:25:40 +00:00
malcontent-ui.h libmalcontent-ui: Move widgets over from malcontent-control 2020-02-04 11:36:58 +00:00
meson.build libmalcontent-ui: Add GIR dependency on libmalcontent 2020-02-06 12:52:06 +00:00
restrict-applications-dialog.c restrict-applications-dialog: Invert controls to be restrictive 2020-02-25 12:25:40 +00:00
restrict-applications-dialog.h restrict-applications-dialog: Drop accountsservice dependency 2020-02-06 12:52:06 +00:00
restrict-applications-dialog.ui restrict-applications-dialog: Remove the Save button 2020-02-26 11:00:12 +00:00
restrict-applications-selector.c restrict-applications-dialog: Invert controls to be restrictive 2020-02-25 12:25:40 +00:00
restrict-applications-selector.h restrict-applications-selector: Drop unnecessary include 2020-02-06 12:52:06 +00:00
restrict-applications-selector.ui libmalcontent-ui: Move widgets over from malcontent-control 2020-02-04 11:36:58 +00:00
restricts-switch.css libmalcontent-ui: Restyle ‘restricts’ switches in yellow 2020-02-25 12:49:29 +00:00
user-controls.c user-controls: Add a fallback bus connection 2020-04-07 12:52:15 +01:00
user-controls.h user-controls: Allow widgets to be used without an `ActUser` 2020-02-14 12:00:57 +00:00
user-controls.ui user-controls: Make OARS drop down open to the right 2020-03-13 11:32:11 -07:00