diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-05-04 05:20:54 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-05-04 05:20:54 +0000 |
| commit | 2dcad8b8dd3e13db62e7de20293c5369dc5e9445 (patch) | |
| tree | 863fd4014431356803427bca8f813d51c234c1fb /src/inkscape.cpp | |
| parent | Fixed broken preferences singleton and removed GUI encapsulation leakage. Fix... (diff) | |
| download | inkscape-2dcad8b8dd3e13db62e7de20293c5369dc5e9445.tar.gz inkscape-2dcad8b8dd3e13db62e7de20293c5369dc5e9445.zip | |
Implement warning of prior errors.
(bzr r7817)
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |
