summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10f0a13)
raw | patch | inline | side by side (parent: 10f0a13)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 11 Jun 2008 20:18:39 +0000 (20:18 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 11 Jun 2008 20:18:39 +0000 (20:18 +0000) |
src/extension/implementation/script.cpp | patch | blob | history |
index 4c705f5cf27c6e575cbe5b3effcdab2838c6c221..7955d90ffb3864dfc9aa4f6fd17427587bd90087 100644 (file)
#include "extension/db.h"
#include "script.h"
#include "dialogs/dialog-events.h"
+#include "application/application.h"
#include "util/glib-list-iterators.h"
}
Glib::ustring stderr_data = fileerr.string();
- if (stderr_data.length() != 0) {
+ if (stderr_data.length() != 0 &&
+ Inkscape::NSApplication::Application::getUseGui()
+ ) {
checkStderr(stderr_data, Gtk::MESSAGE_INFO,
_("Inkscape has received additional data from the script executed. "
"The script did not return an error, but this may indicate the results will not be as expected."));