aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/tk83/files/patch-ao
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-02-22 04:09:59 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-02-22 04:09:59 +0000
commit2c54b710d9304bed2dc776de771525e8583aa48b (patch)
tree2cb95b9f084222de0265b008c26e8cd9eefd54eb /chinese/tk83/files/patch-ao
parent38a6e47643ac8745ed951d28903283b474b25023 (diff)
Chineselized Tk ver. 8.3.0. This version is i18n improvement.
This changes the behavior of Tk on X where X Input Methods (XIM) were recognized and used without question. With 8.3, they will be recognized and initialized, but not used unless XIM is turned on (tk useinputmethods 1). This should only affect users users with special input methods, and the new default behavior should be more beneficial to the average user. Please repo copy, thanks.
Diffstat (limited to 'chinese/tk83/files/patch-ao')
-rw-r--r--chinese/tk83/files/patch-ao16
1 files changed, 16 insertions, 0 deletions
diff --git a/chinese/tk83/files/patch-ao b/chinese/tk83/files/patch-ao
new file mode 100644
index 000000000000..823a8c5bdb08
--- /dev/null
+++ b/chinese/tk83/files/patch-ao
@@ -0,0 +1,16 @@
+--- ../library/text.tcl.orig Thu Feb 10 08:52:50 2000
++++ ../library/text.tcl Wed Feb 21 21:27:44 2001
+@@ -378,6 +378,13 @@
+ }
+ }
+
++# UNIX only bindings:
++
++if {[string equal $tcl_platform(platform) "unix"] &&
++ [string compare [info commands imconfigure] {}]} {
++ bind Text <FocusIn> {catch {imconfigure %W}}
++}
++
+ # Macintosh only bindings:
+
+ # if text black & highlight black -> text white, other text the same