2008/11/24 TK Soh <[EMAIL PROTECTED]>

> On Mon, Nov 24, 2008 at 5:16 AM, Peer Sommerlund
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > 2008/11/24 TK Soh <[EMAIL PROTECTED]>
> >>
> >> On Mon, Nov 24, 2008 at 12:49 AM, TK Soh <[EMAIL PROTECTED]> wrote:
> >> >
> >> > Not sure what I did wrong, but the Remove and Test buttons are always
> >> > disabled, even after I click to select the paths many times.
> >
> > Relative to the previous version of the patch I removed
> >
> > self.pathtree.get_selection().connect("changed", self._pathtree_changed)
> >
> > and the related function. This fixed the problem that Remove only worked
> > once.
>
> When will refresh_path_list() be called again?


This method is called manually a number of places, but apparently not when a
mouse click is made. I have added a connection from the signal
'cursor-changed' to refresh_path_list and this fixed the problem. Thank you
for the hint.

I found another problem with the code (Test button doesn't work) so I will
do some more testing before I submit it again.

Regards,
Peer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to