summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-11-03 02:49:02 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-11-03 02:49:02 +0000
commit91372ae1271f6d79266f9cee6ab6a5109f80662a (patch)
tree7b12e264ea6bd3583034f9e98892fa23396c5ef9 /src/text-context.cpp
parentcopyedit label (diff)
downloadinkscape-91372ae1271f6d79266f9cee6ab6a5109f80662a.tar.gz
inkscape-91372ae1271f6d79266f9cee6ab6a5109f80662a.zip
enable Ctrl+Shift+U to switch Unicode mode; add explanatory (Enter to finish) to the statusbar
(bzr r1890)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index 3a6d2f57b..e969ffbfc 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -574,9 +574,9 @@ show_curr_uni_char(SPTextContext *const tc)
}
}
tc->defaultMessageContext()->setF(Inkscape::NORMAL_MESSAGE,
- _("Unicode: %s: %s"), tc->uni, utf8);
+ _("Unicode (<b>Enter</b> to finish): %s: %s"), tc->uni, utf8);
} else {
- tc->defaultMessageContext()->set(Inkscape::NORMAL_MESSAGE, _("Unicode: "));
+ tc->defaultMessageContext()->set(Inkscape::NORMAL_MESSAGE, _("Unicode (<b>Enter</b> to finish): "));
}
}
@@ -834,14 +834,14 @@ sp_text_context_root_handler(SPEventContext *const ec, GdkEvent *const event)
break;
case GDK_U:
case GDK_u:
- if (MOD__CTRL_ONLY) {
+ if (MOD__CTRL_ONLY || (MOD__CTRL && MOD__SHIFT)) {
if (tc->unimode) {
tc->unimode = false;
ec->defaultMessageContext()->clear();
} else {
tc->unimode = true;
tc->unipos = 0;
- ec->defaultMessageContext()->set(Inkscape::NORMAL_MESSAGE, _("Unicode: "));
+ ec->defaultMessageContext()->set(Inkscape::NORMAL_MESSAGE, _("Unicode (<b>Enter</b> to finish): "));
}
if (tc->imc) {
gtk_im_context_reset(tc->imc);