[uim-commit] r2461 - in trunk: helper scm

yamaken at freedesktop.org yamaken at freedesktop.org
Thu Dec 8 15:23:41 PST 2005


Author: yamaken
Date: 2005-12-08 15:23:17 -0800 (Thu, 08 Dec 2005)
New Revision: 2461

Modified:
   trunk/helper/pref-gtk-custom-widgets.c
   trunk/scm/canna-custom.scm
   trunk/scm/im-custom.scm
   trunk/scm/skk-custom.scm
Log:
* scm/im-custom.scm
* scm/skk-custom.scm
* scm/canna-custom.scm
  - Add lacking activity hooks
* helper/pref-gtk-custom-widgets.c
  - Add FIXME comment about pathname widget. Anyone, please fix it
    before 1.0.0


Modified: trunk/helper/pref-gtk-custom-widgets.c
===================================================================
--- trunk/helper/pref-gtk-custom-widgets.c	2005-12-08 23:12:01 UTC (rev 2460)
+++ trunk/helper/pref-gtk-custom-widgets.c	2005-12-08 23:23:17 UTC (rev 2461)
@@ -377,6 +377,7 @@
 
 
 
+/* FIXME: make pathname widget activity-sensitive */
 static void
 custom_pathname_button_clicked_cb(GtkWidget *button, GtkWidget *entry)
 {

Modified: trunk/scm/canna-custom.scm
===================================================================
--- trunk/scm/canna-custom.scm	2005-12-08 23:12:01 UTC (rev 2460)
+++ trunk/scm/canna-custom.scm	2005-12-08 23:23:17 UTC (rev 2461)
@@ -104,6 +104,10 @@
 		 (lambda ()
 		   canna-use-candidate-window?))
 
+(custom-add-hook 'canna-select-candidate-by-numeral-key?
+		 'custom-activity-hooks
+		 (lambda ()
+		   canna-use-candidate-window?))
 
 ;;
 ;; toolbar

Modified: trunk/scm/im-custom.scm
===================================================================
--- trunk/scm/im-custom.scm	2005-12-08 23:12:01 UTC (rev 2460)
+++ trunk/scm/im-custom.scm	2005-12-08 23:23:17 UTC (rev 2461)
@@ -396,6 +396,11 @@
   (_ "Time length for showing input mode nearby the cursor")
   (_ "Set 0 to show indicator always."))
 
+(custom-add-hook 'bridge-show-input-state-time-length
+		 'custom-activity-hooks
+		 (lambda ()
+		   bridge-show-input-state?))
+
 ;; EB Library support
 ;; 2005-02-08 Takuro Ashie <ashie at homa.ne.jp>
 ;; FIXME! Here isn't suitable position for EB support preference
@@ -416,6 +421,10 @@
   (_ "The directory which contains EB dictionary file")
   (_ "long description will be here."))
 
+(custom-add-hook 'eb-dic-path
+		 'custom-activity-hooks
+		 (lambda ()
+		   eb-enable-for-annotation?))
 
 ;; uim-xim specific custom
 (define-custom-group 'xim

Modified: trunk/scm/skk-custom.scm
===================================================================
--- trunk/scm/skk-custom.scm	2005-12-08 23:12:01 UTC (rev 2460)
+++ trunk/scm/skk-custom.scm	2005-12-08 23:23:17 UTC (rev 2461)
@@ -359,6 +359,21 @@
   (_ "Personal dictionary file (dedicated to uim)")
   (_ "long description will be here."))
 
+(custom-add-hook 'skk-dic-file-name
+		 'custom-activity-hooks
+		 (lambda ()
+		   (not skk-use-skkserv?)))
+
+(custom-add-hook 'skk-personal-dic-filename
+		 'custom-activity-hooks
+		 (lambda ()
+		   (not skk-use-skkserv?)))
+
+(custom-add-hook 'skk-uim-personal-dic-filename
+		 'custom-activity-hooks
+		 (lambda ()
+		   (not skk-use-skkserv?)))
+
 ;;
 ;; advanced
 ;;



More information about the uim-commit mailing list