diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-11-20 00:14:57 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-11-20 00:14:57 +0000 |
| commit | 98fc7e79f2ddbbcb2f8d1766eedb5e80d08c6300 (patch) | |
| tree | 0dd822e6b40f98ac867aff3773483a3e59917fe4 /src/extension/system.cpp | |
| parent | Fix repointed by su_v (diff) | |
| parent | BalloonSymbols.svg rewritten. Balloon symbols should render properly in all b... (diff) | |
| download | inkscape-98fc7e79f2ddbbcb2f8d1766eedb5e80d08c6300.tar.gz inkscape-98fc7e79f2ddbbcb2f8d1766eedb5e80d08c6300.zip | |
Update to trunk
(bzr r12588.1.30)
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); } |
