[gnome-boxes/wip/snapshot-config-changes: 11/12] config-editor: Notify when snapshot backup failed
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/snapshot-config-changes: 11/12] config-editor: Notify when snapshot backup failed
- Date: Mon, 12 Oct 2020 10:57:56 +0000 (UTC)
commit 86ced64ab819bf6cd252eec36d0c00715cc38a3f
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Oct 12 12:19:53 2020 +0200
config-editor: Notify when snapshot backup failed
Boxes will attempt to snapshot your VM before applying your changes.
If it fails to do so, it will apply your changes regardless (but you
are at your own risk).
src/config-editor.vala | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/config-editor.vala b/src/config-editor.vala
index c981f0fc..e25efe50 100644
--- a/src/config-editor.vala
+++ b/src/config-editor.vala
@@ -64,9 +64,8 @@ public async void apply () {
var snapshot_timestamp = yield create_snapshot ();
if (snapshot_timestamp == 0) {
- warning ("Failed to apply changes!");
-
- return;
+ var msg = _("Boxes failed to snapshot your virtual machine before applying your changes.");
+ App.app.main_window.notificationbar.display_error (msg);
}
GVirConfig.Domain? custom_config = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]