summaryrefslogtreecommitdiffstats
path: root/src/text-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/text-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/text-context.cpp')
-rw-r--r--src/text-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index 8f6d6f1e3..3bf9dc5a8 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -429,6 +429,7 @@ sp_text_context_item_handler(SPEventContext *event_context, SPItem *item, GdkEve
sp_text_context_update_cursor(tc);
sp_text_context_update_text_selection(tc);
}
+ gobble_motion_events(GDK_BUTTON1_MASK);
ret = TRUE;
break;
}
@@ -655,7 +656,7 @@ sp_text_context_root_handler(SPEventContext *const event_context, GdkEvent *cons
// status text
GString *xs = SP_PX_TO_METRIC_STRING(fabs((p - tc->p0)[NR::X]), desktop->namedview->getDefaultMetric());
GString *ys = SP_PX_TO_METRIC_STRING(fabs((p - tc->p0)[NR::Y]), desktop->namedview->getDefaultMetric());
- event_context->_message_context->setF(Inkscape::NORMAL_MESSAGE, _("<b>Flowed text frame</b>: %s &#215; %s"), xs->str, ys->str);
+ event_context->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE, _("<b>Flowed text frame</b>: %s &#215; %s"), xs->str, ys->str);
g_string_free(xs, FALSE);
g_string_free(ys, FALSE);