malcontent/libmalcontent-ui
Philip Withnall 9d4639cf49 libmalcontent-ui: Cache and diff the app list when rebuilding it
Instead of removing all the entries in the list store when the set of
installed apps is updated, diff the old and new lists so that removed
apps can be selectively removed from the list store, and added apps can
be selectively added.

This means that we can (in subsequent commits) reload the app list less
conservatively, as doing so will no longer remove in-progress user
modifications to the set of blocked apps. Modifications are still only
saved when the restrict applications dialogue is closed.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #18, #28
2020-10-20 19:13:01 +01:00
..
gs-content-rating.c gs-content-rating: Backport OARS/CSM mapping changes from appstream-glib 2020-06-09 11:07:54 +01:00
gs-content-rating.h libmalcontent-ui: Use appstream-glib code for content rating systems 2020-05-21 16:25:21 +01: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 build: Use meson.current_source_dir() instead of source_root() 2020-07-06 10:59:45 +01:00
restrict-applications-dialog.c libmalcontent-ui: Use library i18n functions 2020-04-27 11:55:10 +01:00
restrict-applications-dialog.h restrict-applications-dialog: Drop accountsservice dependency 2020-02-06 12:52:06 +00:00
restrict-applications-dialog.ui libmalcontent-ui: Explicitly state translation domains in UI files 2020-04-27 12:11:39 +01:00
restrict-applications-selector.c libmalcontent-ui: Cache and diff the app list when rebuilding it 2020-10-20 19:13:01 +01: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: Explicitly state translation domains in UI files 2020-04-27 12:11:39 +01:00
restricts-switch.css libmalcontent-ui: Restyle ‘restricts’ switches in yellow 2020-02-25 12:49:29 +00:00
user-controls.c tree-wide: Replace usages of whitelist/blacklist 2020-06-09 15:35:21 -07: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 whole ‘Restrict Applications’ row activatable 2020-05-01 15:20:09 +01:00