summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-06-02 13:58:10 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-06-02 13:58:10 +0000
commitebb772536e4e72fc8aa713789406fc0da6b8c9da (patch)
treea84532ad6b34f22f9d05239c4b53010285ecd1e0 /src/text-context.cpp
parentmoving include as suggested by bob (diff)
downloadinkscape-ebb772536e4e72fc8aa713789406fc0da6b8c9da.tar.gz
inkscape-ebb772536e4e72fc8aa713789406fc0da6b8c9da.zip
text tolbar usability: enable alt+x, enable esc to defocus entry fields and close font popdown, enable typing in size
(bzr r1128)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index 964588794..e48d715c4 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -805,6 +805,13 @@ sp_text_context_root_handler(SPEventContext *const ec, GdkEvent *const event)
/* Neither unimode nor IM consumed key; process text tool shortcuts */
switch (group0_keyval) {
+ case GDK_x:
+ case GDK_X:
+ if (MOD__ALT_ONLY) {
+ desktop->setToolboxFocusTo ("altx-text");
+ return TRUE;
+ }
+ break;
case GDK_space:
if (MOD__CTRL_ONLY) {
/* No-break space */