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:
parent
e1b5bcd324
commit
93b88af0c1
|
@ -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 can’t 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. */
|
||||
|
|
Loading…
Reference in New Issue