libmalcontent-ui: Reload the app list when it changes on the system

This will no longer destroy in-progress user input.

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

Fixes: #18
This commit is contained in:
Philip Withnall 2020-10-15 16:44:55 +01:00
parent e1b5bcd324
commit 93b88af0c1
1 changed files with 0 additions and 5 deletions

View File

@ -586,14 +586,9 @@ static void
app_info_changed_cb (GAppInfoMonitor *monitor,
gpointer user_data)
{
/* FIXME: We should update the list of apps here, but we cant call
* reload_apps() because that will dump and reload the entire list, losing
* any changes the user has already made to the set of switches. We need
* something more fine-grained.
MctRestrictApplicationsSelector *self = MCT_RESTRICT_APPLICATIONS_SELECTOR (user_data);
reload_apps (self);
*/
}
/* Will return %NULL if @flatpak_id is not installed. */