[Geany-devel] configurable status line?

Nick Treleaven nick.treleaven at xxxxx
Mon Jun 28 12:13:11 UTC 2010


On Sun, 27 Jun 2010 15:20:24 +0300
Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:

> Hi,
> 
> Here is a slightly newer version of the $subject patch.
> 
> Support for %_ has been removed, it doesn't make sense if the number of
> spaces can not be set, and only makes the text harder to read.
> 
> The default status line text is _("line: %l / %n\t col: %c ..."), not
> _(GEANY_DEFAULT_STATUSBAR_TEMPLATE), for easier i18n.

> To preserve the status bar speed, I used only g_string_append(), as in
> the current code, instead of utils_string_replace_all(). There are more
> _append calls, but that can't be avoided.

Not sure that's necessary, I think it would be cleaner using
utils_string_replace_first().

Also you need to preserve all comments as they are for the translators.

Regards,
Nick



More information about the Devel mailing list