[Geany-devel] encoding combo boxes bug

Lex Trotman elextr at xxxxx
Thu Jan 19 23:07:38 UTC 2012


On Fri, Jan 20, 2012 at 9:58 AM, Lex Trotman <elextr at gmail.com> wrote:
> On Thu, Jan 19, 2012 at 11:53 PM, Nick Treleaven
> <nick.treleaven at btinternet.com> wrote:
>> Hi,
>> I'm seeing wrong encoding names in the encoding combo boxes on the Files tab
>> of the Prefs dialog. E.g. where it should say UTF-8 I see Hebrew. Another
>> Glade-related bug?
>
> Sort of, according to glade combo_new_encoding, combo_open_encoding
> and combo_eol all share the same underlying list model.
>
> So when we initialise them, all the entries go in the same list, so
> all three show the encodings twice and the end of line entries at the
> bottom.
>
> Two of these need to be pointed to different list models.

PS the two encodings combos could probably share the same list, so
long as we only initialise it once in prefs.c, but eol needs its own
list

Cheers
Lex

>
> I don't have Glade 3.8.1 (need 3.10 for another project) so I
> shouldn't do it, someone with the right Glade care to create two new
> list models.
>
> Cheers
> Lex
>
>>
>> Nick
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel at uvena.de
>> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel



More information about the Devel mailing list