[Tkabber-dev] r136 - trunk/plugins/filter_add

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Sep 29 00:14:20 MSD 2008


Author: archimed
Date: 2008-09-29 00:14:19 +0400 (Mon, 29 Sep 2008)
New Revision: 136

Modified:
   trunk/plugins/filter_add/filter_add.tcl
   trunk/plugins/filter_add/iroster.tcl.diff
Log:


Modified: trunk/plugins/filter_add/filter_add.tcl
===================================================================
--- trunk/plugins/filter_add/filter_add.tcl	2008-09-28 16:53:37 UTC (rev 135)
+++ trunk/plugins/filter_add/filter_add.tcl	2008-09-28 20:14:19 UTC (rev 136)
@@ -15,7 +15,6 @@
 
 proc ::ifacetk::roster::switch_only_online {args} {
     variable show_only_online
-    variable use_filter
     variable options
     variable show_only_online_in_filter_mode
     

Modified: trunk/plugins/filter_add/iroster.tcl.diff
===================================================================
--- trunk/plugins/filter_add/iroster.tcl.diff	2008-09-28 16:53:37 UTC (rev 135)
+++ trunk/plugins/filter_add/iroster.tcl.diff	2008-09-28 20:14:19 UTC (rev 136)
@@ -1,14 +1,6 @@
---- iroster.tcl	Sun Sep 28 17:53:55 2008
-+++ iroster_.tcl	Sun Sep 28 19:46:02 2008
-@@ -53,7 +53,6 @@
- unset tbackground tforeground bbackground bactiveBackground
- 
- namespace eval roster {
--puts [namespace current]
-     custom::defgroup Roster [::msgcat::mc "Roster options."] -group Tkabber
-     custom::defvar use_aliases 1 \
- 	[::msgcat::mc "Use aliases to show multiple users in one roster item."] \
-@@ -63,6 +62,10 @@
+--- iroster.tcl	Mon Sep 29 00:02:30 2008
++++ iroster_.tcl	Mon Sep 29 00:11:16 2008
+@@ -62,6 +62,10 @@
  	[::msgcat::mc "Show only online users in roster."] \
  	-type boolean -group Roster \
  	-command [namespace current]::redraw_after_idle
@@ -19,7 +11,7 @@
      custom::defvar show_transport_icons 0 \
  	[::msgcat::mc "Show native icons for transports/services in roster."] \
  	-type boolean -group Roster \
-@@ -289,6 +292,7 @@
+@@ -288,6 +292,7 @@
      variable own_resources_group_name
      variable collapsed
      variable show_offline
@@ -27,7 +19,7 @@
  
      clear .roster 0
      
-@@ -530,6 +534,7 @@
+@@ -529,6 +534,7 @@
  	    }
  	    if {!$show_only_online || $show_offline_group || \
  		    $roster(show_offline,$gid) || \
@@ -35,7 +27,7 @@
  		    $online + $not_users + $sub_jids > 0} {
  		if {$users} {
  		    addline .roster group "$group_name ($online/$users)" \
-@@ -556,6 +561,7 @@
+@@ -555,6 +561,7 @@
  		    }
  		    set cjid [list $connid $jid]
  		    if {!$show_only_online || $show_offline_users || $roster(show_offline,$gid) || \
@@ -43,13 +35,12 @@
  			    ![info exists useronline($jid)] || $useronline($jid)} {
  			lassign [::roster::get_category_and_subtype $connid $jid] category type
  			set jids [get_jids_of_user $connid $jid]
-@@ -1291,8 +1297,15 @@
+@@ -1290,8 +1297,14 @@
  
  proc roster::switch_only_online {args} {
      variable show_only_online
 -
 -    set show_only_online [expr {!$show_only_online}]
-+    variable use_filter
 +    variable options
 +    variable show_only_online_in_filter_mode
 +    



More information about the Tkabber-dev mailing list