trivial: dell: add missing icon for TPM devices

This commit is contained in:
Mario Limonciello 2017-09-28 10:25:30 -04:00
parent fa2d5f60e4
commit 26767845f1

View File

@ -732,6 +732,7 @@ fu_plugin_dell_detect_tpm (FuPlugin *plugin, GError **error)
fu_device_set_version (dev, version_str);
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_INTERNAL);
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_REQUIRE_AC);
fu_device_add_icon (dev, "computer");
if (out->flashes_left > 0) {
if (fu_plugin_dell_capsule_supported (plugin)) {
fu_device_add_flag (dev, FWUPD_DEVICE_FLAG_UPDATABLE);
@ -752,6 +753,7 @@ fu_plugin_dell_detect_tpm (FuPlugin *plugin, GError **error)
fu_device_add_flag (dev_alt, FWUPD_DEVICE_FLAG_INTERNAL);
fu_device_add_flag (dev_alt, FWUPD_DEVICE_FLAG_REQUIRE_AC);
fu_device_add_flag (dev_alt, FWUPD_DEVICE_FLAG_LOCKED);
fu_device_add_icon (dev_alt, "computer");
fu_device_set_alternate (dev_alt, dev);
/* If TPM is not owned and at least 1 flash left allow mode switching