summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-10-24 23:19:48 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-10-24 23:19:48 +0000
commit0d90afa292d7d7e3ab59a6e1fcbcaa44272b2b1b (patch)
tree8d9135993f1a6de7f2596bb3637d7e3cd0a9526f /src/live_effects/parameter/path.cpp
parentchange cursor for color gestures (diff)
downloadinkscape-0d90afa292d7d7e3ab59a6e1fcbcaa44272b2b1b.tar.gz
inkscape-0d90afa292d7d7e3ab59a6e1fcbcaa44272b2b1b.zip
Fix bug [ 1818794 ] Showing grid on opening svg
+ some bits of code to do on-canvas path parameter editing LPE. (bzr r3957)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
-rw-r--r--src/live_effects/parameter/path.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 15ba663be..db1064511 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -25,7 +25,7 @@
#include "verbs.h"
#include "document.h"
-#define LPEPATHPARAM_DEBUG
+// needed for on-canvas editting:
#include "tools-switch.h"
#include "shape-editor.h"
#include "node-context.h"
@@ -110,9 +110,6 @@ PathParam::param_getWidget()
static_cast<Gtk::HBox*>(_widget)->pack_start(*pButton, true, true);
_tooltips->set_tip(*pButton, _("Edit on-canvas"));
edit_button = pButton;
-#ifndef LPEPATHPARAM_DEBUG
- edit_button->set_sensitive(false);
-#endif
pIcon = Gtk::manage( sp_icon_get_icon( GTK_STOCK_PASTE, Inkscape::ICON_SIZE_BUTTON) );
pButton = Gtk::manage(new Gtk::Button());