Revision: 2209
http://synfig.svn.sourceforge.net/synfig/?rev=2209&view=rev
Author: dooglus
Date: 2008-11-18 17:19:57 +0000 (Tue, 18 Nov 2008)
Log Message:
-----------
When we try to open a file that doesn't exist, display an error in studio.
Modified Paths:
--------------
synfig-studio/trunk/src/gtkmm/app.cpp
Modified: synfig-studio/trunk/src/gtkmm/app.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/app.cpp 2008-11-18 17:19:38 UTC (rev
2208)
+++ synfig-studio/trunk/src/gtkmm/app.cpp 2008-11-18 17:19:57 UTC (rev
2209)
@@ -2397,6 +2397,11 @@
dialog_error_blocking(_("Error"), x);
return false;
}
+ catch(runtime_error x)
+ {
+ dialog_error_blocking(_("Error"), x.what());
+ return false;
+ }
catch(...)
{
dialog_error_blocking(_("Error"), _("Uncaught error on file
open (BUG)"));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl