[pygtk] Tree filtering not working after loading a file
Nishith Nand
nand2110 at gmail.com
Fri Aug 1 23:17:55 WST 2008
I did set the model to the filter. It works correctly before doing the load
from the file. Actually I tried resetting the model to the filter again,
right after the call to refilter and that is working. Although I am not sure
why.
Thanks and Regards,
Nishith
On Fri, Aug 1, 2008 at 8:18 PM, Milosz Derezynski
<internalerror at gmail.com>wrote:
> Perhaps you forgot to set the filter model to the view and instead it's
> still the base model?
>
> 2008/8/1 Nishith Nand <nand2110 at gmail.com>
>
>> Hi,
>>
>> I am trying to write a little todo list program, in which I the list
>> is supposed to filter based on the selected context. The problem is that the
>> filtering is happening if just add items and try to filter them but its not
>> happening when I load the items from a file. I am using pickle module for
>> saving and loading. I have tried cPickle also, with no luck. The filter
>> function is working correctly, returning True's and False's properly but the
>> tree update is not happening.
>>
>> Thanks and Regards,
>>
>> Nishith
>>
>> _______________________________________________
>> pygtk mailing list pygtk at daa.com.au
>> http://www.daa.com.au/mailman/listinfo/pygtk
>> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>>
>>
>
>
> --
> Please note that according to the German law on data retention,
> information on every electronic information exchange with me is
> retained for a period of six months.
> [Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
> jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080801/65cf3e9f/attachment.htm
More information about the pygtk
mailing list