diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2013-11-19 12:10:04 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2013-11-19 12:10:04 +0000 |
| commit | 9318c9c232cf73aa806c366381f144dc6df4d218 (patch) | |
| tree | 62ca4883e4ba7604ddbd7417b84699a44902485a /src/extension/system.cpp | |
| parent | fix initialization bug, that leads to non-continuous path (diff) | |
| download | inkscape-9318c9c232cf73aa806c366381f144dc6df4d218.tar.gz inkscape-9318c9c232cf73aa806c366381f144dc6df4d218.zip | |
Add GUI for 'image-rendering'. Completes fix for blocker bug #1163449.
Removed two unused preference options for bitmaps.
(bzr r12823)
Diffstat (limited to 'src/extension/system.cpp')
| -rw-r--r-- | src/extension/system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp index c0211032c..7a50826ca 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -97,9 +97,9 @@ SPDocument *open(Extension *key, gchar const *filename) bool show = true; if (strlen(imod->get_id()) > 27) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - Glib::ustring attr = prefs->getString("/dialogs/import/link"); + bool ask = prefs->getBool("/dialogs/import/ask"); Glib::ustring id = Glib::ustring(imod->get_id(), 28); - if (strcmp(attr.c_str(), "ask") != 0 and strcmp(id.c_str(), "org.inkscape.input.gdkpixbuf") == 0) { + if (!ask and id.compare( "org.inkscape.input.gdkpixbuf") == 0) { show = false; imod->set_gui(false); } |
