iso-dialog: Give less scary error if there are no ISOs

Instead of a fail simply reply that there are no ISO files.

Message text was suggested by Radek Duda who reported the issue.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
Frediano Ziglio 2020-07-09 14:27:02 +01:00
parent 53dcc7fe52
commit ff11d5937e

View File

@ -153,7 +153,7 @@ fetch_iso_names_cb(OvirtForeignMenu *foreign_menu,
iso_list = ovirt_foreign_menu_fetch_iso_names_finish(foreign_menu, result, &error);
if (!iso_list) {
const gchar *msg = error ? error->message : _("Failed to fetch CD names");
const gchar *msg = error ? error->message : _("No ISO files in domain");
gchar *markup = g_strdup_printf("<b>%s</b>", msg);
g_debug("Error fetching ISO names: %s", msg);