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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]> > >> 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 [email protected] >> 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.] >
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
