[Geany-devel] [Patch] : On closing the last tab create new untitled document.

Erik de Castro Lopo mle+tools at xxxxx
Wed Sep 15 22:32:05 UTC 2010


Erik de Castro Lopo wrote:

> Nick Treleaven wrote:
> 
> > Well, the responses are all positive. But I don't think that
> > keybindings.c is the best place for this code. What about writing it
> > as an idle callback from document_remove_page?
> 
> Actually, doesn't even need a callback. Attached patch moves
> the code I initially had in keybindings.c to the end of the
> document_remove_page() function in document.c.

Actually attached the patch this time.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5051-closing-last-tab-create-new-untitled.diff
Type: text/x-diff
Size: 532 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100916/9ad3605c/attachment.diff>


More information about the Devel mailing list