Improve the error messages created by the canvas chooser widget.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 26 Oct 2008 20:02:46 +0000 (20:02 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 26 Oct 2008 20:02:46 +0000 (20:02 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2137 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/widget_canvaschooser.cpp

index e151644..7ca1ba9 100644 (file)
@@ -155,7 +155,7 @@ Widget_CanvasChooser::chooser_menu()
        }
        catch(std::runtime_error x)
        {
-               App::dialog_error_blocking(_("Error:Exception Thrown"),x.what());
+               App::dialog_error_blocking(_("Error:Exception Thrown"),String(_("Error selecting canvas:\n\n")) + x.what());
                set_value_(canvas);
        }
        catch(...)