mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-06 13:17:45 +03:00
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:
parent
53dcc7fe52
commit
ff11d5937e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user