[Sugar-devel] Fwd: Fw: Re: #3013 UNSP: toolbar error

James Cameron quozl at laptop.org
Fri Aug 5 06:46:32 EDT 2011


On Fri, Aug 05, 2011 at 10:29:39AM +0100, Daniel Drake wrote:
> __stop_clicked_cb() checks that _focus_out_hid is not None, and the
> only place this gets set is if that earlier check for
> activity.metadata passes.
> 
> To put it another way, self._focus_out_hid is a signal handler
> connected to self.title. How can it be set to something if self.title
> doesn't exist?

It turns out that _focus_out_hid doesn't matter; the call to
_update_title() in __stop_clicked_cb() is not protected by that
conditional.

I applied James instructions [1] to the Log-20 activity on 10.1.3, and
the same symptom as #3013 began to occur.  Thus I did exclude Sugar
Commander.

1.  http://en.flossmanuals.net/make-your-own-sugar-activities/ch019_fun-with-the-journal/

"NOT Adding A Journal Entry"

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list