From 2dcad8b8dd3e13db62e7de20293c5369dc5e9445 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 4 May 2009 05:20:54 +0000 Subject: Implement warning of prior errors. (bzr r7817) --- src/inkscape.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/inkscape.cpp') diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 5d9e217a8..abfffefc2 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -787,6 +787,13 @@ inkscape_application_init (const gchar *argv0, gboolean use_gui) Inkscape::Preferences *prefs = Inkscape::Preferences::get(); InkErrorHandler* handler = new InkErrorHandler(use_gui); prefs->setErrorHandler(handler); + { + Glib::ustring msg; + Glib::ustring secondary; + if (prefs->getLastError( msg, secondary )) { + handler->handleError(msg, secondary); + } + } inkscape_load_menus(inkscape); sp_input_load_from_preferences(); -- cgit v1.2.3