summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-04-12 20:00:42 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-04-12 20:00:42 +0000
commit86d70ead8eb7c975dd12a3549975b2964865c7f7 (patch)
tree42feeac53a6b556c17e9c24932d8031105afbcea /src/snap.cpp
parentadd LPE recursive skeleton (experimental) (diff)
downloadinkscape-86d70ead8eb7c975dd12a3549975b2964865c7f7.tar.gz
inkscape-86d70ead8eb7c975dd12a3549975b2964865c7f7.zip
Fix two "snap window not opened" warnings
(bzr r7693)
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}