[uim-commit] r986 - trunk/scm

tkng at freedesktop.org tkng at freedesktop.org
Wed Jul 20 08:28:14 EST 2005


Author: tkng
Date: 2005-07-19 15:28:11 -0700 (Tue, 19 Jul 2005)
New Revision: 986

Modified:
   trunk/scm/canna.scm
Log:
* scm/canna.scm: Removed check whether can connect to canna server, because
  it cannot correspond to new uim-module-manager. If this check is really
  need, please revert this commit.


Modified: trunk/scm/canna.scm
===================================================================
--- trunk/scm/canna.scm	2005-07-19 21:30:49 UTC (rev 985)
+++ trunk/scm/canna.scm	2005-07-19 22:28:11 UTC (rev 986)
@@ -746,29 +746,20 @@
       (canna-begin-input cc)
       (im-commit-raw cc)))
 
-(if (and
-     (symbol-bound? 'canna-lib-init)
-     (canna-lib-init canna-server-name))
-    (set! canna-init-lib-ok? #t))
-
-(if (and
-     (symbol-bound? 'canna-lib-init)
-     (= canna-init-lib-ok? #t))
-    (begin
-      (canna-configure-widgets)
-      (register-im
-       'canna
-       "ja"
-       "EUC-JP"
-       canna-im-name-label
-       canna-im-short-desc
-       #f
-       canna-init-handler
-       canna-release-handler
-       context-mode-handler
-       canna-press-key-handler
-       canna-release-key-handler
-       canna-reset-handler
-       canna-get-candidate-handler
-       canna-set-candidate-index-handler
-       context-prop-activate-handler)))
+(canna-configure-widgets)
+(register-im
+ 'canna
+ "ja"
+ "EUC-JP"
+ canna-im-name-label
+ canna-im-short-desc
+ #f
+ canna-init-handler
+ canna-release-handler
+ context-mode-handler
+ canna-press-key-handler
+ canna-release-key-handler
+ canna-reset-handler
+ canna-get-candidate-handler
+ canna-set-candidate-index-handler
+ context-prop-activate-handler)



More information about the uim-commit mailing list