[Tkabber-dev] r965 - in trunk/tkabber: . ifacetk

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Fri Feb 23 22:54:34 MSK 2007


Author: sergei
Date: 2007-02-23 22:54:32 +0300 (Fri, 23 Feb 2007)
New Revision: 965

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/ifacetk/systray.tcl
Log:
	* ifacetk/systray.tcl: Fixed bug with forgotten window geometry when
	  hiding main window to system tray.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2007-02-23 16:56:32 UTC (rev 964)
+++ trunk/tkabber/ChangeLog	2007-02-23 19:54:32 UTC (rev 965)
@@ -17,6 +17,9 @@
 
 	* *: 0.10.0-beta is released.
 
+	* ifacetk/systray.tcl: Fixed bug with forgotten window geometry when
+	  hiding main window to system tray.
+
 2007-02-20  Sergei Golovan  <sgolovan at nes.ru>
 
 	* plugins/chat/info_commands.tcl: Bugfix: send last, time and vaersion

Modified: trunk/tkabber/ifacetk/systray.tcl
===================================================================
--- trunk/tkabber/ifacetk/systray.tcl	2007-02-23 16:56:32 UTC (rev 964)
+++ trunk/tkabber/ifacetk/systray.tcl	2007-02-23 19:54:32 UTC (rev 965)
@@ -166,6 +166,9 @@
 
 # Withdraws the main Tkabber window from the screen:
 proc systray::withdraw {} {
+    variable saved_state
+    variable saved_geometry
+
     if {[cequal [wm state .] withdrawn]} return
 
     set saved_state [wm state .]
@@ -182,6 +185,8 @@
 
 # De-withdraws the main Tkabber window:
 proc systray::reshow {} {
+    variable saved_geometry
+
     if {![cequal [wm state .] withdrawn]} return
 
     if {[info exists saved_geometry]} {



More information about the Tkabber-dev mailing list