diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-08-30 17:29:28 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-08-30 17:29:28 +0000 |
commit | 37df0b017272ba2231d47acfa1ec8186b294bb18 (patch) | |
tree | ac0b67776b270f7bd59e9081d1fb524e3a6ae3ec /gtk/gtkimcontextsimple.c | |
parent | a4b3c358286488468a3e6546045500add5a6ef4a (diff) | |
download | gtk+-37df0b017272ba2231d47acfa1ec8186b294bb18.tar.gz |
Change the compose sequence for soft hyphen to be
2005-08-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontextsimple.c: Change the compose sequence for
soft hyphen to be multi_key-minus-minus-space, and add
compose sequences multi_key-minus-minus-period and
multi_key-minus-minus-minus for en dash and em dash.
(#172653, Christian Lohmaier)
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r-- | gtk/gtkimcontextsimple.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 1d444e97ad..aff4463673 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -391,7 +391,9 @@ static const guint16 gtk_compose_seqs[] = { GDK_Multi_key, GDK_minus, GDK_parenright, 0, 0, 0x007D, /* RIGHT_CURLY_BRACKET */ GDK_Multi_key, GDK_minus, GDK_plus, 0, 0, 0x00B1, /* PLUSxMINUS_SIGN */ GDK_Multi_key, GDK_minus, GDK_comma, 0, 0, 0x00AC, /* NOT_SIGN */ - GDK_Multi_key, GDK_minus, GDK_minus, 0, 0, 0x00AD, /* SOFT_HYPHEN */ + GDK_Multi_key, GDK_minus, GDK_minus, GDK_space, 0, 0x00AD, /* SOFT_HYPHEN */ + GDK_Multi_key, GDK_minus, GDK_minus, GDK_minus, 0, 0x2014, /* EM DASH */ + GDK_Multi_key, GDK_minus, GDK_minus, GDK_period, 0, 0x2014, /* EN DASH */ GDK_Multi_key, GDK_minus, GDK_colon, 0, 0, 0x00F7, /* DIVISION_SIGN */ GDK_Multi_key, GDK_minus, GDK_A, 0, 0, 0x00C3, /* LATIN_CAPITAL_LETTER_A_WITH_TILDE */ GDK_Multi_key, GDK_minus, GDK_D, 0, 0, 0x0110, /* LATIN_CAPITAL_LETTER_D_WITH_STROKE */ |