Code

Node tool: special case node duplication for endnodes - select new endnode
[inkscape.git] / src / extension / prefdialog.cpp
index 9cfa39bd57b89e8fa10f14ac7d70db1597a61e72..9d3abae762e4f7138c43fb13a58179d43817537a 100644 (file)
@@ -19,7 +19,6 @@
 #include "inkscape.h"
 #include "desktop.h"
 
-#include "preferences.h"
 #include "effect.h"
 #include "implementation/implementation.h"
 
@@ -77,7 +76,7 @@ PrefDialog::PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * co
     set_default_response(Gtk::RESPONSE_OK);
     _button_ok->grab_focus();
 
-    if (_effect != NULL) {
+    if (_effect != NULL && !_effect->no_live_preview) {
         if (_param_preview == NULL) {
             XML::Document * doc = sp_repr_read_mem(live_param_xml, strlen(live_param_xml), NULL);
             _param_preview = Parameter::make(doc->root(), _effect);
@@ -234,7 +233,7 @@ PrefDialog::on_response (int signal) {
 
 #include "internal/clear-n_.h"
 
-const char * PrefDialog::live_param_xml = "<param name=\"__live_effect__\" type=\"boolean\" gui-text=\"" N_("Live Preview") "\" gui-description=\"" N_("Controls whether the effect settings are rendered live on canvas") "\" scope=\"user\">false</param>";
+const char * PrefDialog::live_param_xml = "<param name=\"__live_effect__\" type=\"boolean\" gui-text=\"" N_("Live preview") "\" gui-description=\"" N_("Is the effect previewed live on canvas?") "\" scope=\"user\">false</param>";
 
 }; }; /* namespace Inkscape, Extension */