OLD | NEW |
1 #ifndef IBUS_1_1 | 1 #ifndef IBUS_1_1 |
2 gboolean ibus_chewing_engine_process_key_event_1_2(IBusEngine *engine, | 2 gboolean ibus_chewing_engine_process_key_event_1_2(IBusEngine *engine, |
3 guint keysym_ignore, guint keycode, guint modifiers){ | 3 guint keysym_ignore, guint keycode, guint modifiers){ |
4 if (modifiers & IBUS_RELEASE_MASK){ | 4 if (modifiers & IBUS_RELEASE_MASK){ |
5 /* Skip release event */ | 5 /* Skip release event */ |
6 return TRUE; | 6 return TRUE; |
7 } | 7 } |
8 //IBusChewingEngine *self=IBUS_CHEWING_ENGINE(engine); | 8 //IBusChewingEngine *self=IBUS_CHEWING_ENGINE(engine); |
9 //guint keysym=ibus_keymap_lookup_keysym (self->keymap_us,keycode,modifiers)
; | 9 //guint keysym=ibus_keymap_lookup_keysym (self->keymap_us,keycode,modifiers)
; |
10 //return ibus_chewing_engine_process_key_event(engine, keysym, modifiers); | 10 //return ibus_chewing_engine_process_key_event(engine, keysym, modifiers); |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 } | 209 } |
210 return self_update(self); | 210 return self_update(self); |
211 } | 211 } |
212 | 212 |
213 void ibus_chewing_engine_candidate_clicked(IBusEngine *engine, guint index, | 213 void ibus_chewing_engine_candidate_clicked(IBusEngine *engine, guint index, |
214 guint button, guint state) { | 214 guint button, guint state) { |
215 G_DEBUG_MSG(3,"[I3] cadidate_clicked(-, %u, %u, %u) ... proceed.", index, bu
tton, state); | 215 G_DEBUG_MSG(3,"[I3] cadidate_clicked(-, %u, %u, %u) ... proceed.", index, bu
tton, state); |
216 IBusChewingEngine *self=IBUS_CHEWING_ENGINE(engine); | 216 IBusChewingEngine *self=IBUS_CHEWING_ENGINE(engine); |
217 self_handle_candidate_clicked(self, index, button, state); | 217 self_handle_candidate_clicked(self, index, button, state); |
218 } | 218 } |
| 219 |
| 220 void ibus_config_value_changed(IBusConfig *config, const gchar *section, |
| 221 const gchar *name, GValue *value, gpointer userData) { |
| 222 G_DEBUG_MSG(3,"[I3] ibus_config_value_changed(-, %s, %s, -, -)", section, na
me); |
| 223 IBusChewingEngine *self=IBUS_CHEWING_ENGINE(userData); |
| 224 self_handle_config_value_changed(self, section, name, value); |
| 225 } |
OLD | NEW |