[gnome-boxes] wizard: Friendlier error in the UI on review failure
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Friendlier error in the UI on review failure
- Date: Sat, 7 Jul 2012 14:23:04 +0000 (UTC)
commit b8cd56a4c1e3bd314c15294c3683fc6a52cf5729
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jul 4 21:52:55 2012 +0300
wizard: Friendlier error in the UI on review failure
The error string is based on the one we display when create() fails.
https://bugzilla.gnome.org/show_bug.cgi?id=678902
src/wizard.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 167e6b5..785ca0d 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -317,7 +317,8 @@ private class Boxes.Wizard: Boxes.UI {
} catch (IOError.CANCELLED cancel_error) { // We did this, so ignore!
return false;
} catch (GLib.Error error) {
- App.app.notificationbar.display_error (error.message);
+ App.app.notificationbar.display_error (_("Box setup failed!"));
+ warning (error.message);
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]