LEFT | RIGHT |
1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ | 1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ |
2 /* vim:set et sts=4: */ | 2 /* vim:set et sts=4: */ |
3 #ifdef HAVE_CONFIG_H | 3 #ifdef HAVE_CONFIG_H |
4 # include "config.h" | 4 # include "config.h" |
5 #endif | 5 #endif |
6 | 6 |
7 #include "ibusenginesimple.h" | 7 #include "ibusenginesimple.h" |
8 | 8 |
9 #include "ibuskeys.h" | 9 #include "ibuskeys.h" |
10 #include "ibuskeysyms.h" | 10 #include "ibuskeysyms.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 guint in_hex_sequence : 1; | 43 guint in_hex_sequence : 1; |
44 guint modifiers_dropped : 1; | 44 guint modifiers_dropped : 1; |
45 }; | 45 }; |
46 | 46 |
47 /* This file contains the table of the compose sequences, | 47 /* This file contains the table of the compose sequences, |
48 * static const guint16 ibus_compose_seqs_compact[] = {} | 48 * static const guint16 ibus_compose_seqs_compact[] = {} |
49 * IT is generated from the compose-parse.py script. | 49 * IT is generated from the compose-parse.py script. |
50 */ | 50 */ |
51 #include "gtkimcontextsimpleseqs.h" | 51 #include "gtkimcontextsimpleseqs.h" |
52 | 52 |
53 /* From the values below, the value 23 means the number of different first keysy
ms | 53 /* From the values below, the value 24 means the number of different first keysy
ms |
54 * that exist in the Compose file (from Xorg). When running compose-parse.py wit
hout | 54 * that exist in the Compose file (from Xorg). When running compose-parse.py wit
hout |
55 * parameters, you get the count that you can put here. Needed when updating the | 55 * parameters, you get the count that you can put here. Needed when updating the |
56 * gtkimcontextsimpleseqs.h header file (contains the compose sequences). | 56 * gtkimcontextsimpleseqs.h header file (contains the compose sequences). |
57 */ | 57 */ |
58 static const IBusComposeTableCompact ibus_compose_table_compact = { | 58 static const IBusComposeTableCompact ibus_compose_table_compact = { |
59 gtk_compose_seqs_compact, | 59 gtk_compose_seqs_compact, |
60 5, | 60 5, |
61 24, | 61 24, |
62 6 | 62 6 |
63 }; | 63 }; |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 g_return_if_fail (max_seq_len <= IBUS_MAX_COMPOSE_LEN); | 901 g_return_if_fail (max_seq_len <= IBUS_MAX_COMPOSE_LEN); |
902 | 902 |
903 IBusComposeTable *table = g_new (IBusComposeTable, 1); | 903 IBusComposeTable *table = g_new (IBusComposeTable, 1); |
904 table->data = data; | 904 table->data = data; |
905 table->max_seq_len = max_seq_len; | 905 table->max_seq_len = max_seq_len; |
906 table->n_seqs = n_seqs; | 906 table->n_seqs = n_seqs; |
907 | 907 |
908 priv->tables = g_slist_prepend (priv->tables, table); | 908 priv->tables = g_slist_prepend (priv->tables, table); |
909 | 909 |
910 } | 910 } |
LEFT | RIGHT |