From 422e866bc832a011cc15547108bae47816fa9dbc Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 28 Apr 2016 15:05:33 +0100 Subject: [PATCH] Match the AppStream metadata after a device has been adedd This allows us to match specific properties by watching the ::DeviceChanged() signal. --- src/fu-main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fu-main.c b/src/fu-main.c index 57f7cfee2..2300922a6 100644 --- a/src/fu-main.c +++ b/src/fu-main.c @@ -2101,6 +2101,10 @@ cd_main_provider_device_added_cb (FuProvider *provider, } } + /* match the metadata at this point so clients can tell if the + * device is worthy */ + fu_main_get_updates_item_update (priv, item); + /* notify clients */ fu_main_emit_device_added (priv, item->device); fu_main_emit_changed (priv);