Revision: 6632
Author: ek.kato
Date: Thu Jul 29 23:54:01 2010
Log: * scm/generic.scm
- (generic-update-input-state-cands)
- (generic-update-multi-cand-state-cands)
- Fix for generic-show-prediction-candidates? #f.
http://code.google.com/p/uim/source/detail?r=6632
Modified:
/trunk/scm/generic.scm
=======================================
--- /trunk/scm/generic.scm Wed Jun 16 00:26:37 2010
+++ /trunk/scm/generic.scm Thu Jul 29 23:54:01 2010
@@ -332,7 +332,9 @@
(begin
(im-activate-candidate-selector
pc (length cands/keys) generic-nr-candidate-max)
- (if (not (string=? (cdr (car cands/keys)) ""))
+ (if (and
+ generic-show-prediction-candidates?
+ (not (string=? (cdr (car cands/keys)) "")))
(generic-context-set-rk-nth! pc -1)
(begin
(generic-context-set-rk-nth! pc 0)
@@ -474,7 +476,9 @@
(begin
(im-activate-candidate-selector
pc (length cands/nexts) generic-nr-candidate-max)
- (if (not (string=? (cdr (car cands/nexts)) ""))
+ (if (and
+ generic-show-prediction-candidates?
+ (not (string=? (cdr (car cands/nexts)) "")))
(generic-context-set-rk-nth! pc -1)
(begin
(generic-context-set-rk-nth! pc 0)