From 86d70ead8eb7c975dd12a3549975b2964865c7f7 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 12 Apr 2009 20:00:42 +0000 Subject: Fix two "snap window not opened" warnings (bzr r7693) --- src/snap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/snap.cpp') diff --git a/src/snap.cpp b/src/snap.cpp index 392e1c075..9ca9b7838 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -162,7 +162,7 @@ Inkscape::SnappedPoint SnapManager::freeSnap(Inkscape::SnapPreferences::PointTyp Geom::OptRect const &bbox_to_snap) const { if (_desktop->event_context && _desktop->event_context->_snap_window_open == false) { - g_warning("context_snap_window_open has not been set to true by the current context. Please report this!"); + g_warning("The current tool tries to snap, but it hasn't yet opened the snap window. Please report this!"); // When the context goes into dragging-mode, then Inkscape should call this: sp_event_context_snap_window_open(event_context); } @@ -297,7 +297,7 @@ Inkscape::SnappedPoint SnapManager::constrainedSnap(Inkscape::SnapPreferences::P Geom::OptRect const &bbox_to_snap) const { if (_desktop->event_context && _desktop->event_context->_snap_window_open == false) { - g_warning("context_snap_window_open has not been set to true by the current context. Please report this!"); + g_warning("The current tool tries to snap, but it hasn't yet opened the snap window. Please report this!"); // When the context goes into dragging-mode, then Inkscape should call this: sp_event_context_snap_window_open(event_context); } @@ -335,7 +335,7 @@ void SnapManager::guideSnap(Geom::Point &p, Geom::Point const &guide_normal) con // This method is used to snap a guide to nodes or to other guides, while dragging the guide around. Will not snap to grids! if (_desktop->event_context && _desktop->event_context->_snap_window_open == false) { - g_warning("context_snap_window_open has not been set to true by the current context. Please report this!"); + g_warning("The current tool tries to snap, but it hasn't yet opened the snap window. Please report this!"); // When the context goes into dragging-mode, then Inkscape should call this: sp_event_context_snap_window_open(event_context); } -- cgit v1.2.3