diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-13 18:02:49 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-10-14 17:36:29 +0000 |
| commit | bb3261782fa74919c3ee34baf60dc09da61aff1e (patch) | |
| tree | 74af4a6da12815aa36d555602d32628fab983161 /src/extension/implementation/script.h | |
| parent | no "SPString" label for XML editor text nodes (diff) | |
| download | inkscape-bb3261782fa74919c3ee34baf60dc09da61aff1e.tar.gz inkscape-bb3261782fa74919c3ee34baf60dc09da61aff1e.zip | |
Extensions: Improve logic to lookup script extensions
- Use identical logic for looking up <dependency>s and <command>s.
- Remove duplicate (but inconsistent and incomplete) logic from
script.cpp that was used to search for the <command> again
- Remove <check> element from .inx format
It seems unused (at the very least by core extensions) and
redundant to <dependency> checking
- Deprecate the <command>-specific "reldir" attribute.
Consistently use the functionally identical "location" attribute
that was only used for <dependency>s before
- Introduce the new relative location value location="inx",
which looks up <dependencies> and <command>s relative to the
.inx file's location.
Diffstat (limited to 'src/extension/implementation/script.h')
| -rw-r--r-- | src/extension/implementation/script.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/extension/implementation/script.h b/src/extension/implementation/script.h index 9a3b40278..425198be3 100644 --- a/src/extension/implementation/script.h +++ b/src/extension/implementation/script.h @@ -76,8 +76,6 @@ private: */ Gtk::Window *parent_window; - std::string solve_reldir(Inkscape::XML::Node *repr_in); - bool check_existence (std::string const& command); void copy_doc(Inkscape::XML::Node * olddoc, Inkscape::XML::Node * newdoc); void checkStderr (Glib::ustring const& filename, Gtk::MessageType type, Glib::ustring const& message); |
