[Tkabber-dev] r1216 - in trunk/tkabber-plugins: . tkabber-khim

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Sep 2 13:49:08 MSD 2007


Author: sergei
Date: 2007-09-02 13:49:08 +0400 (Sun, 02 Sep 2007)
New Revision: 1216

Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/tkabber-khim/tkabber-khim.tcl
Log:
	* tkabber-khim/tkabber-khim.tcl: Removed unnecessary namespace level.


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2007-09-01 22:37:53 UTC (rev 1215)
+++ trunk/tkabber-plugins/ChangeLog	2007-09-02 09:49:08 UTC (rev 1216)
@@ -1,9 +1,11 @@
 2007-09-01  Sergei Golovan <sgolovan at nes.ru>
 
-	* browser/msgs/de.msg, browser/msgs/ru.msg: Added SVN $Id$ attribute.
+	* browser/msgs/de.msg, browser/msgs/ru.msg: Added SVN Id attribute.
 
-	* jidlink/msgs/ru.msg: Fixed SVN $Id$ attribute.
+	* jidlink/msgs/ru.msg: Fixed SVN Id attribute.
 
+	* tkabber-khim/tkabber-khim.tcl: Removed unnecessary namespace level.
+
 2007-08-31  Sergei Golovan <sgolovan at nes.ru>
 
 	* jidlink/*: New Jidlink support plugin. Jidlink support is removed

Modified: trunk/tkabber-plugins/tkabber-khim/tkabber-khim.tcl
===================================================================
--- trunk/tkabber-plugins/tkabber-khim/tkabber-khim.tcl	2007-09-01 22:37:53 UTC (rev 1215)
+++ trunk/tkabber-plugins/tkabber-khim/tkabber-khim.tcl	2007-09-02 09:49:08 UTC (rev 1216)
@@ -12,7 +12,7 @@
 # TODO eval'ing of KHIM settings looks unsafe.
 # TODO it would be better not to subvert ::entry and ::text commands.
 
-namespace eval tkabber::khim {
+namespace eval khim {
     # If the directory named "khim" is available locally, use it.
     # This makes possible to distribute KHIM and autoscroll bundled
     # with this plugin (and lift the dependency on tklib).
@@ -81,7 +81,7 @@
 
 # Passes the KHIM settings restored from the Customize DB
 # to the KHIM subsystem:
-proc tkabber::khim::restore_settings {args} {
+proc khim::restore_settings {args} {
     variable settings
 
     catch {eval $settings}
@@ -91,7 +91,7 @@
 # Invokes the KHIM's options dialog,
 # then saves current KHIM options.
 # Intended to be invoked via Tkabber menus, etc.
-proc tkabber::khim::edit_options {} {
+proc khim::edit_options {} {
     variable settings
 
     ::khim::getOptions .tkabber_khim_options
@@ -101,7 +101,7 @@
 
 
 # Creates an entry for KHIM in the "Services->Plugins" Tkabber menu:
-proc tkabber::khim::on_init {} {
+proc khim::on_init {} {
     set menu [.mainframe getmenu plugins]
     $menu add command \
 	  -label [::msgcat::mc "KHIM options"] \



More information about the Tkabber-dev mailing list