diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-08-21 01:37:25 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-08-21 01:37:25 +0000 |
| commit | 3a42bb51dbbe50879f8a4470851284f2b1d988ef (patch) | |
| tree | e58cb1ac32af837f5fa3745adee553baa5da0882 /src/rect-context.cpp | |
| parent | add colon before value description (diff) | |
| download | inkscape-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/rect-context.cpp')
| -rw-r--r-- | src/rect-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp index 71683ec8e..9c25f91c0 100644 --- a/src/rect-context.cpp +++ b/src/rect-context.cpp @@ -333,7 +333,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent motion_dt = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt, rc->item).getPoint(); sp_rect_drag(*rc, motion_dt, event->motion.state); - + gobble_motion_events(GDK_BUTTON1_MASK); ret = TRUE; } break; @@ -489,7 +489,7 @@ static void sp_rect_drag(SPRectContext &rc, NR::Point const pt, guint state) // status text GString *xs = SP_PX_TO_METRIC_STRING(r.dimensions()[NR::X], desktop->namedview->getDefaultMetric()); GString *ys = SP_PX_TO_METRIC_STRING(r.dimensions()[NR::Y], desktop->namedview->getDefaultMetric()); - rc._message_context->setF(Inkscape::NORMAL_MESSAGE, _("<b>Rectangle</b>: %s × %s; with <b>Ctrl</b> to make square or integer-ratio rectangle; with <b>Shift</b> to draw around the starting point"), xs->str, ys->str); + rc._message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("<b>Rectangle</b>: %s × %s; with <b>Ctrl</b> to make square or integer-ratio rectangle; with <b>Shift</b> to draw around the starting point"), xs->str, ys->str); g_string_free(xs, FALSE); g_string_free(ys, FALSE); } |
