| OLD | NEW |
| 1 requires 2.0.0 | 1 requires 2.0.0 |
| 2 | 2 |
| 3 %alltop{ | 3 %alltop{ |
| 4 /* | 4 /* |
| 5 * Copyright © 2009 Red Hat, Inc. All rights reserved. | 5 * Copyright © 2009 Red Hat, Inc. All rights reserved. |
| 6 * Copyright © 2009 Ding-Yi Chen <dchen at redhat.com> | 6 * Copyright © 2009 Ding-Yi Chen <dchen at redhat.com> |
| 7 * | 7 * |
| 8 * This file is part of the ibus-chewing Project. | 8 * This file is part of the ibus-chewing Project. |
| 9 * | 9 * |
| 10 * This program is free software; you can redistribute it and/or | 10 * This program is free software; you can redistribute it and/or |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 return; | 750 return; |
| 751 } | 751 } |
| 752 if (self->inputMode==CHEWING_INPUT_MODE_SELECTING_DONE){ | 752 if (self->inputMode==CHEWING_INPUT_MODE_SELECTING_DONE){ |
| 753 int* keys = chewing_get_selKey(self->context); | 753 int* keys = chewing_get_selKey(self->context); |
| 754 if (!keys) { | 754 if (!keys) { |
| 755 G_DEBUG_MSG(3,"[I3] handle_cadidate_clicked(-, %u, %u, %u) ... N
o sel keys.", index, button, state); | 755 G_DEBUG_MSG(3,"[I3] handle_cadidate_clicked(-, %u, %u, %u) ... N
o sel keys.", index, button, state); |
| 756 return; | 756 return; |
| 757 } | 757 } |
| 758 ibus_chewing_engine_set_status_flag(self, ENGINE_STATUS_NEED_COMMIT)
; | 758 ibus_chewing_engine_set_status_flag(self, ENGINE_STATUS_NEED_COMMIT)
; |
| 759 chewing_handle_Default(self->context, keys[index]); | 759 chewing_handle_Default(self->context, keys[index]); |
| 760 chewing_free(keys); |
| 760 self_update(self); | 761 self_update(self); |
| 761 } else { | 762 } else { |
| 762 G_DEBUG_MSG(3,"[I3] handle_cadidate_clicked() ... Wrong mode: %u", s
elf->inputMode); | 763 G_DEBUG_MSG(3,"[I3] handle_cadidate_clicked() ... Wrong mode: %u", s
elf->inputMode); |
| 763 } | 764 } |
| 764 } | 765 } |
| 765 | 766 |
| 766 /* | 767 /* |
| 767 * determine_input_mode: | 768 * determine_input_mode: |
| 768 * | 769 * |
| 769 * Determine input mode. | 770 * Determine input mode. |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1024 IBusProperty *prop=self_get_iBusProperty(self, prop_name); | 1025 IBusProperty *prop=self_get_iBusProperty(self, prop_name); |
| 1025 ibus_property_set_visible(prop,FALSE); | 1026 ibus_property_set_visible(prop,FALSE); |
| 1026 ibus_engine_update_property(engine,prop); | 1027 ibus_engine_update_property(engine,prop); |
| 1027 } | 1028 } |
| 1028 } | 1029 } |
| 1029 | 1030 |
| 1030 %{ | 1031 %{ |
| 1031 #include "IBusChewingEngine-keys.c" | 1032 #include "IBusChewingEngine-keys.c" |
| 1032 %} | 1033 %} |
| 1033 | 1034 |
| OLD | NEW |