elementary / switchboard-plug-network

Switchboard Network Plug
GNU General Public License v3.0
20 stars 23 forks source link

Changes password entry validation from Gtk.Entry to … #299

Closed Eldhrimer closed 3 years ago

Eldhrimer commented 3 years ago

…Granite.ValidatedEntry, and fixes icon tooltip punctuation

Fixes #298

Eldhrimer commented 3 years ago

I forgot to comment that I commited the changes you asked @danrabbit On the other hand in my original commit I forgot to say that in the original code it was used the method length to check the number of characters and I replaced it with char_count because the original code assumed that every character was 1 byte, while in some languages some characters sizes could be more than 1 byte.

For example this string is 8 bytes long, but only 4 characters long: áéóü.