diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-03-29 19:12:03 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-03-29 19:12:03 +0000 |
| commit | e180a73c03c71c51b676cc345e92d9ff0e3115e4 (patch) | |
| tree | 8f26521df08d79997a0e2c77e5df852e31476559 /src/gradient-context.cpp | |
| parent | revert part of 20988 to fix rendering of LPE on groups (diff) | |
| download | inkscape-e180a73c03c71c51b676cc345e92d9ff0e3115e4.tar.gz inkscape-e180a73c03c71c51b676cc345e92d9ff0e3115e4.zip | |
- Move snap delay mechanism to the event context (used to be in SPCanvas)
- Rename lots of variables and methods to make them easier to understand
- Add snapping to the connector tool
(bzr r7589)
Diffstat (limited to 'src/gradient-context.cpp')
| -rw-r--r-- | src/gradient-context.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp index 16df41f7a..03c3c947c 100644 --- a/src/gradient-context.cpp +++ b/src/gradient-context.cpp @@ -114,8 +114,6 @@ static void sp_gradient_context_dispose(GObject *object) SPGradientContext *rc = SP_GRADIENT_CONTEXT(object); SPEventContext *ec = SP_EVENT_CONTEXT(object); - sp_canvas_set_snap_delay_active(ec->desktop->canvas, false); - ec->enableGrDrag(false); if (rc->_message_context) { @@ -219,7 +217,7 @@ static void sp_gradient_context_setup(SPEventContext *ec) rc->subselcon = new sigc::connection (ec->desktop->connectToolSubselectionChanged(sigc::bind (sigc::ptr_fun(&gradient_subselection_changed), rc))); gradient_selection_changed(selection, rc); - sp_canvas_set_snap_delay_active(ec->desktop->canvas, true); + sp_event_context_snap_window_open(ec); } void |
