trivial: dell-dock: clarify the pending update message (#2185)

To a user it's not obvious if being unplugged means host or AC adapter.
Unplugging from AC adapter will prevent the dock from completing an
update.
This commit is contained in:
Mario Limonciello 2020-06-17 11:39:33 -05:00 committed by Mario Limonciello
parent 33b0f48b6f
commit 8012fb3c8d

View File

@ -523,9 +523,9 @@ fu_dell_dock_ec_get_dock_data (FuDevice *device,
fu_device_add_flag (device, FWUPD_DEVICE_FLAG_UPDATABLE); fu_device_add_flag (device, FWUPD_DEVICE_FLAG_UPDATABLE);
} else { } else {
fu_device_add_flag (device, FWUPD_DEVICE_FLAG_NEEDS_ACTIVATION); fu_device_add_flag (device, FWUPD_DEVICE_FLAG_NEEDS_ACTIVATION);
fu_device_set_update_error (device, "An update is pending " fu_device_set_update_error (device, "A pending update will be completed "
"next time the dock is " "next time the dock is "
"unplugged"); "unplugged from your computer");
} }
} else { } else {
g_warning ("This utility does not support this board, disabling updates for %s", g_warning ("This utility does not support this board, disabling updates for %s",