Hi

Bug:
SearchContact loaded
Select a filter: Show only those i removed
Deselect that filter
CL is not updated

Bye =)

*Giuseppe "Square87" Bottiglieri*
Index: plugins/SearchContact/searchcontact.tcl
===================================================================
--- plugins/SearchContact/searchcontact.tcl     (revisione 12169)
+++ plugins/SearchContact/searchcontact.tcl     (copia locale)
@@ -662,7 +662,15 @@
                if {!$::contactlist_loaded} { return }
                variable clblocked
 
-               if { $event eq "filterChange" || $event eq "historyScroll" } {
+               if { $event eq "filterChange" } {
+                     if {$::searchcontact::config(filter_blocked) == 0 && 
$::searchcontact::config(filter_removedme) == 0 && [getInput] == ""} {
+                         set clblocked 0
+                         set ::guiContactList::external_lock 0
+                         ::guiContactList::organiseList .main.f.cl.cvs 
[::guiContactList::getContactList]
+                     } else {
+                         set clblocked 1
+                     }
+               } elseif { $event eq "historyScroll" } {
                        set clblocked 1
                }
                
Index: plugins/SearchContact/plugininfo.xml
===================================================================
--- plugins/SearchContact/plugininfo.xml        (revisione 12169)
+++ plugins/SearchContact/plugininfo.xml        (copia locale)
@@ -9,7 +9,7 @@
        <description_hu>A partnerek szűrését teszi lehetővé egy keresősáv 
segítségével, szabadon megadható keresőszöveggel.</description_hu>
        <description_nl>Deze plug-in voegt een zoeken-terwijl-u-typt-zoekbalk 
onder de contactenlijst toe voor het filteren van contacten.</description_nl>
        <amsn_version>0.97</amsn_version>
-       <plugin_version>0.9</plugin_version>
+       <plugin_version>0.9.1</plugin_version>
        <plugin_file>searchcontact.tcl</plugin_file>
        <plugin_namespace>searchcontact</plugin_namespace>
        <init_procedure>Init</init_procedure>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to