summaryrefslogtreecommitdiffstats
path: root/src/spiral-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-08-21 01:37:25 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-08-21 01:37:25 +0000
commit3a42bb51dbbe50879f8a4470851284f2b1d988ef (patch)
treee58cb1ac32af837f5fa3745adee553baa5da0882 /src/spiral-context.cpp
parentadd colon before value description (diff)
downloadinkscape-3a42bb51dbbe50879f8a4470851284f2b1d988ef.tar.gz
inkscape-3a42bb51dbbe50879f8a4470851284f2b1d988ef.zip
gobble more of motion events; make statusbar messages immediate for better visual feedback
(bzr r3561)
Diffstat (limited to 'src/spiral-context.cpp')
-rw-r--r--src/spiral-context.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp
index 4e0fd9878..6dbdb74c9 100644
--- a/src/spiral-context.cpp
+++ b/src/spiral-context.cpp
@@ -293,8 +293,10 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event)
SnapManager const &m = desktop->namedview->snap_manager;
motion_dt = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt, sc->item).getPoint();
-
sp_spiral_drag(sc, motion_dt, event->motion.state);
+
+ gobble_motion_events(GDK_BUTTON1_MASK);
+
ret = TRUE;
}
break;
@@ -455,7 +457,7 @@ sp_spiral_drag(SPSpiralContext *sc, NR::Point p, guint state)
/* status text */
GString *rads = SP_PX_TO_METRIC_STRING(rad, desktop->namedview->getDefaultMetric());
- sc->_message_context->setF(Inkscape::NORMAL_MESSAGE,
+ sc->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE,
_("<b>Spiral</b>: radius %s, angle %5g&#176;; with <b>Ctrl</b> to snap angle"),
rads->str, sp_round((arg + 2.0*M_PI*spiral->revo)*180/M_PI, 0.0001));
g_string_free(rads, FALSE);