Comment 7 for bug 882824

Revision history for this message
Edward K. Ream (edreamleo) wrote : Re: [Bug 882824] Re: bookmarks_show command with free_layout plugin not enabled sends AttributeError to console

On Thu, Mar 15, 2012 at 1:31 PM, SegundoBob <email address hidden> wrote:
...
>  File "/home/bob/bzr/LeoLatest/leo/plugins/bookmarks.py", line 77, in
> bookmarks_show
>    splitter = bmd.c.free_layout.get_top_splitter()
> AttributeError: 'Commands' object has no attribute 'free_layout'

Fixed for good, I think, at rev 5147. The bookmarks plugin now forces
the load of the free_layout plugin in the 'after-create-leo-frame'
event handler. This allows the rest of the code to assume that both
c.free_layout and c.free_layout.get_top_splitter exist.

EKR