[Geany-devel] [PATCH 19/19] Use per document indent sizes

Erik de Castro Lopo mle+tools at xxxxx
Mon Aug 9 22:20:50 UTC 2010


Jiří Techet wrote:

> Interesting.
> 
> I wanted to avoid 8 callback functions for each menu entry by reading
> the label but apparently it wasn't a good idea. When thinking about
> it, the label can be localized and completely changed so I shouldn't
> rely on its value.
> 
> Instead of using your patch I think it's cleaner to really use the 8
> callbacks which should fix all the problems. So please use the
> attached patch instead of the original one.

Applied here and working as expected. Thanks.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Devel mailing list