Revision: 2178
          http://synfig.svn.sourceforge.net/synfig/?rev=2178&view=rev
Author:   dooglus
Date:     2008-11-09 19:22:28 +0000 (Sun, 09 Nov 2008)

Log Message:
-----------
When studio fails to start up, show a more specific error message stating why.

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-09 19:09:45 UTC (rev 
2177)
+++ synfig-studio/trunk/src/gtkmm/app.cpp       2008-11-09 19:22:28 UTC (rev 
2178)
@@ -1143,6 +1143,11 @@
 
        // Initialize the Synfig library
        try { synfigapp_main=etl::smart_ptr<synfigapp::Main>(new 
synfigapp::Main(etl::dirname((*argv)[0]),&synfig_init_cb)); }
+       catch(std::runtime_error x)
+       {
+               get_ui_interface()->error(strprintf("%s\n\n%s", _("Failed to 
initialize synfig!"), x.what()));
+               throw;
+       }
        catch(...)
        {
                get_ui_interface()->error(_("Failed to initialize synfig!"));


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

Reply via email to