- 16 Jan, 2014 24 commits
-
-
Dan Winship authored
-
Dan Winship authored
update_system_hostname() was bailing out if (there is no IP4 config or the IP4 config has no addresses) AND (there is no IP6 config or the IP6 config has no addresses), but it would then hit an assertion and crash if there was a valid IP6 config along with an IP4 config with no addresses. Fix that and get rid of some redundancy. Sort of pointed out by Coverity.
-
Jiří Klimeš authored
Fix for compilation with GLib 2.32.
-
Jiří Klimeš authored
-
Jiří Klimeš authored
Without the correct annotation, the functions didn't work correctly in Python (causing segmentation fault).
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
-
Dan Winship authored
When activating a never-before-used Wi-Fi network, we need to call nm_client_add_and_activate_connection(), not nm_client_activate_connection(). (We still pass a NULL connection, since NM will attempt to auto-fill it for us, and will succeed as long as it's not an 802.1x connection.)
-
Dan Winship authored
We were using g_utf8_strlen() to measure strings for layout, but that counts combining marks too, and also fails to deal with "fullwidth" (ie, double-width) CJK characters. Add a new utility function to do a better job of this (based on code from vte), and use it everywhere.
-
Dan Winship authored
-
Dan Winship authored
Make NmtConnectConnectionList just a dumb connection list, and have the actual connecting code be in nmtui-connect.c
-
Dan Winship authored
-
Dan Winship authored
-
Dan Winship authored
-
Dan Winship authored
"Cancel" didn't really make sense here, but changing it to "Quit" is also weird because if you were going to use the "OK" button you'd have to tab past "Quit" first... So make it be an option in the menu instead.
-
Dan Winship authored
-
Dan Winship authored
-
Dan Winship authored
-
Dan Winship authored
Unless NMTUI_DEBUG is set, don't pop up a dialog when a g_warning/critical/etc occurs. Just hide the main screen briefly so the error doesn't get printed over the UI, and restore it after; any messages that get logged will be visible after nmtui exits.
-
Dan Winship authored
They end up not working right from the build tree anyway, because the nmtui libtool wrapper doesn't pass its argv[0] on to the actual binary.
-
Dan Winship authored
Since we can't align buttons to half-character positions, they end up looking more random than centered: | <Add> | | <Edit...> | | <Delete> | So just let them be left-aligned instead. It looks better.
-
Dan Winship authored
The keyboard focus was getting reset to the first widget any time a widget changed validity, because the form wasn't updating priv->focus when it should have.
-
Jiří Klimeš authored
-
- 15 Jan, 2014 10 commits
-
-
Jiří Klimeš authored
-
Jiří Klimeš authored
-
Thomas Haller authored
This restores the behaviour, that was removed in commit e299d7b3. https://bugzilla.redhat.com/show_bug.cgi?id=1040528Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
This forwards the signal UPDATED_BY_USER received from one of their NMConnection. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Now UPDATED_BY_USER signal gets emitted immediately after the connection is updated, rather then only after it is successfully saved. This means, that the signal will be emitted earlier then before (right after changing the connection, but before it gets commited). Furthermore, the signal will also be emitted for connections that get changed but are not to be saved. Currently, the only subscriber to this signal is NMSettings (default_wired_connection_updated_by_user_cb), which should be fine with this change of semantics (even better). https://bugzilla.redhat.com/show_bug.cgi?id=1040528Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
https://bugzilla.redhat.com/show_bug.cgi?id=1040528Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
This changes behaviour of nm_connection_update_secrets() in that it will now return %TRUE, if there are no secrets to be cleared. Seems more correct, to return success if there is nothing to do. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Often, nm_connection_clear_secrets does have no consequences, because there is nothing to be cleared. Only raise a signal, if something actually changed. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Jiří Klimeš authored
It is mainly useful for GObject introspection users helping them to find out whether the connection is VPN easier.
-
- 13 Jan, 2014 2 commits
-
-
Yuri Chornoivan authored
https://bugzilla.gnome.org/show_bug.cgi?id=722130Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Christian Kirbach authored
https://bugzilla.gnome.org/show_bug.cgi?id=722061Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 10 Jan, 2014 4 commits
-
-
Thomas Haller authored
- use a more efficient implementation for prefix_to_netmask - fix netmask_to_prefix to behave consistently in case of invalid netmask - remove unused duplicated functions from NetworkManagerUtils.c - add test functions Based-on-patch-by:
Pavel Šimerda <psimerda@redhat.com> Signed-off-by:
Thomas Haller <thaller@redhat.com> Related: https://bugzilla.gnome.org/show_bug.cgi?id=721771
-
Jiří Klimeš authored
Don't print extra empty lines before the error.
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Commands now support help at the second level. Add completion for it. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-