libmalcontent-ui: Load the app list when constructing the apps selector
Rather than waiting until an app filter is set on the application selector, load the app list immediately at construction time. This is now possible because it can be diffed easily when the app filter is set. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #28
This commit is contained in:
parent
9d4639cf49
commit
e1b5bcd324
|
@ -104,6 +104,9 @@ mct_restrict_applications_selector_constructed (GObject *obj)
|
|||
|
||||
g_assert (self->app_filter != NULL);
|
||||
|
||||
/* Load the apps. */
|
||||
reload_apps (self);
|
||||
|
||||
G_OBJECT_CLASS (mct_restrict_applications_selector_parent_class)->constructed (obj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue