diff options
author | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2012-07-04 21:52:55 +0300 |
---|---|---|
committer | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2012-07-07 17:22:38 +0300 |
commit | b8cd56a4c1e3bd314c15294c3683fc6a52cf5729 (patch) | |
tree | 9401fcfcd3108a5d987ac7c5ba549fb994a7a7ac | |
parent | 4533c16195eceae27317ca1fe852526c0db0a328 (diff) |
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
-rw-r--r-- | 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; } |