Commit graph

6 commits

Author SHA1 Message Date
Lubomir Rintel
da4a591b4d hostname-helper: use SSID_MAX_LEN
It looks a bit weird to define it and still use the numeric literal.
2017-01-19 10:46:46 +01:00
Lubomir Rintel
239403c742 hostname-helper: fall back to kernel hostname when the pretty one is an empty string
The empty string is not too useful as an SSID, an attempt to create a
hotspot fails:

  (gnome-control-center:19371): network-cc-panel-WARNING **:
    Failed to add new connection: (2)
    A 'wireless' setting with a valid SSID is required if no AP path was given.
2017-01-19 10:45:36 +01:00
Bastien Nocera
1ce4af4267 shell: Add PrettyHostname to SSID helper
For use in the network panel. Comes with tests!
2016-06-10 17:10:35 +02:00
Ryan Lortie
4736b03ed9 hostname-helper: use GLib transliteration API
Use GLib's new transliteration API to avoid the shortcomings of iconv().

Also solve an existing problem where strings entered in decomposed forms
wouldn't be properly transliterated.  Always normalise before attempting
transliteration.

Bump GLib dependency to 2.39.91 for the new feature.

https://bugzilla.gnome.org/show_bug.cgi?id=724194
2014-02-21 07:57:03 -05:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Thomas Wood
f3a35fb573 Add CcHostnameEntry widget and use it in the info panel
https://bugzilla.gnome.org/show_bug.cgi?id=687772
2013-01-14 18:06:20 +00:00
Renamed from panels/info/hostname-helper.c (Browse further)