NetworkManager/tui
Dan Winship dd2e751b07 tui: fix Wi-Fi section of "nmtui connect" list in non-UTF-8 locales
In locales where the Wi-Fi signal-strength characters couldn't be
represented (eg, LANG=C), the entire Wi-Fi SSID + signal strength
string would fail to convert, causing the Wi-Fi section of the
connection list to show up as a series of blank lines.

Fix this by testing beforehand whether the characters can convert, and
falling back to plain ASCII if not. (And also, fix the similar code in
nmt-newt-section.c, which got broken when nmt_newt_locale_from_utf8()
was changed to never return NULL.)

Also, for paranoia, represent the signal-strength strings via \nnn
escapes rather than actual UTF-8 data, to guarantee that they get
compiled to the expected values even if the source files get
re-encoded.

https://bugzilla.gnome.org/show_bug.cgi?id=733007
2014-07-16 12:05:44 -04:00
..
newt tui: fix Wi-Fi section of "nmtui connect" list in non-UTF-8 locales 2014-07-16 12:05:44 -04:00
Makefile.am build: more srcdir!=builddir fixes 2014-07-15 11:37:19 -04:00
nm-editor-bindings.c tui: fix a crash when editing IPv6 routes 2014-06-03 14:08:38 +02:00
nm-editor-bindings.h tui: fix binding of some int/uint properties (rh #1078281) 2014-03-21 13:32:50 -04:00
nm-editor-utils.c all: fix various warnings detected with coverity 2014-05-02 15:20:30 +02:00
nm-editor-utils.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-address-list.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-address-list.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-connect-connection-list.c tui: fix Wi-Fi section of "nmtui connect" list in non-UTF-8 locales 2014-07-16 12:05:44 -04:00
nmt-connect-connection-list.h tui: implement deactivation in "nmtui connect" 2014-01-16 09:19:07 -05:00
nmt-device-entry.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-device-entry.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-edit-connection-list.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-edit-connection-list.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-editor-page.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-editor-page.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-editor.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-editor.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-ip-entry.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-ip-entry.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-mac-entry.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-mac-entry.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-mtu-entry.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-mtu-entry.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-bond.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-bond.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-bridge-port.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-bridge-port.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-bridge.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-bridge.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-device.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-page-device.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-ethernet.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-ethernet.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-grid.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-grid.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-infiniband.c tui: properly initialize InfiniBand transport-mode 2014-02-13 18:28:30 +01:00
nmt-page-infiniband.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-ip4.c tui: fix inverted option "Require IPvX addressing for this connection" 2014-06-23 19:09:44 +02:00
nmt-page-ip4.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-ip6.c tui: fix inverted option "Require IPvX addressing for this connection" 2014-06-23 19:09:44 +02:00
nmt-page-ip6.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-main.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-page-main.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-team-port.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-team-port.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-team.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-team.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-vlan.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-vlan.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-wifi.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-page-wifi.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-password-dialog.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-password-dialog.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-password-fields.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-password-fields.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-route-editor.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-route-editor.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-route-entry.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-route-entry.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-route-table.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-route-table.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-secret-agent.c tui: fix build 2014-01-16 14:54:39 -05:00
nmt-secret-agent.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-slave-list.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-slave-list.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-utils.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-utils.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmt-widget-list.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmt-widget-list.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
nmtui-connect.c tui: allow Esc to cancel "nmtui connect" 2014-03-24 13:19:13 -04:00
nmtui-connect.h tui: fix quitting from "nmtui edit CONN-ID" 2014-03-21 13:32:50 -04:00
nmtui-edit.c all: remove remaining GParamSpec name/blurb strings 2014-06-19 17:45:03 -04:00
nmtui-edit.h tui: fix quitting from "nmtui edit CONN-ID" 2014-03-21 13:32:50 -04:00
nmtui-hostname.c tui: fix quitting from "nmtui edit CONN-ID" 2014-03-21 13:32:50 -04:00
nmtui-hostname.h tui: fix quitting from "nmtui edit CONN-ID" 2014-03-21 13:32:50 -04:00
nmtui.c all: fix various warnings detected with coverity 2014-05-02 15:20:30 +02:00
nmtui.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
vpn-helpers.c nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00
vpn-helpers.h nmtui: initial import of nmtui 2013-12-13 16:00:51 +01:00