From: <squ...@us...> - 2009-03-24 09:40:44
|
Revision: 11106 http://amsn.svn.sourceforge.net/amsn/?rev=11106&view=rev Author: square87 Date: 2009-03-24 09:40:35 +0000 (Tue, 24 Mar 2009) Log Message: ----------- top-cw: don't enable the after command if we have just a tab (we need to enable it only once if we have 2 tabs) Modified Paths: -------------- trunk/amsn/chatwindow.tcl Modified: trunk/amsn/chatwindow.tcl =================================================================== --- trunk/amsn/chatwindow.tcl 2009-03-23 23:43:28 UTC (rev 11105) +++ trunk/amsn/chatwindow.tcl 2009-03-24 09:40:35 UTC (rev 11106) @@ -3899,7 +3899,7 @@ set tab_width [expr {$tabbar_width / $number_tabs}] TabsWidth $container set $tab_width - if {$tab_width < 2} { + if {$tab_width < 2 && $number_tabs != 1} { set tab_width 100 set enable_after 1 } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |