| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Doing this for consistency with code where Thomas insists this is a good
idea. Easier than fixing Thomas.
|
|
|
|
|
|
| |
The error argument is never used, don't pretend we handle it and avoid
leaking it. Just dumping the error on the console is still not optimal,
but unconfusing things is a good start.
|
|
|
|
| |
Otherwise the labels are messy.
|
|
|
|
| |
https://bugzilla.redhat.com/show_bug.cgi?id=1456007
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EAP methods keep a pointer to wireless-security without holding any
reference to it (to avoid a circular dependency). Thus, their lifetime
must be shorter than the wireless-security's.
When the page is disposed, EAP methods are kept alive because they are
referenced by the combo box displayed in the page. When the page is
destroyed, they try to access the wireless-security that is already
gone.
Fix this by removing the security widgets from the page before
destroying the wireless-security, so that EAP methods instances don't
stay around longer and are disposed at the same time of
wireless-security.
==11224== Invalid read of size 8
==11224== at 0x444FA1: wireless_security_set_userpass (wireless-security.c:220)
==11224== by 0x93033E4: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.5000.3)
[...]
==11224== by 0x5DB3BBF: gtk_widget_unrealize (gtkwidget.c:5520)
==11224== by 0x5DB63DF: gtk_widget_dispose (gtkwidget.c:12065)
==11224== by 0x5DC9E47: gtk_window_dispose (gtkwindow.c:3151)
==11224== by 0x9309AE8: g_object_run_dispose (in /usr/lib64/libgobject-2.0.so.0.5000.3)
==11224== by 0x415F98: dispose (nm-connection-editor.c:513)
==11224== Address 0x1c635820 is 64 bytes inside a block of size 136 free'd
==11224== at 0x4C2ED4A: free (vg_replace_malloc.c:530)
==11224== by 0x97996CD: g_free (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x97B221F: g_slice_free1 (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x41FE99: dispose (page-8021x-security.c:222)
==11224== by 0x9308095: g_object_unref (in /usr/lib64/libgobject-2.0.so.0.5000.3)
==11224== by 0x97B321C: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x97B323A: g_slist_free_full (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x415E77: dispose (nm-connection-editor.c:495)
==11224== Block was alloc'd at
==11224== at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
==11224== by 0x97995B8: g_malloc (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x97B1B12: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x97B213D: g_slice_alloc0 (in /usr/lib64/libglib-2.0.so.0.5000.3)
==11224== by 0x444DD8: wireless_security_init (wireless-security.c:160)
==11224== by 0x448381: ws_wpa_eap_new (ws-wpa-eap.c:107)
==11224== by 0x41FF22: finish_setup (page-8021x-security.c:69)
==11224== by 0x93033E4: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.5000.3)
==11224== by 0x931E05E: g_signal_emit_valist (in /usr/lib64/libgobject-2.0.so.0.5000.3)
==11224== by 0x931E43E: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.5000.3)
==11224== by 0x41CFEA: emit_initialized (ce-page.c:667)
==11224== by 0x41CFEA: ce_page_complete_init (ce-page.c:719)
==11224== by 0x416EEA: get_secrets_cb (nm-connection-editor.c:822)
==11224== by 0x8FD82B6: g_simple_async_result_complete (in /usr/lib64/libgio-2.0.so.0.5000.3)
==11224== by 0x7466F58: get_secrets_cb (nm-remote-connection.c:456)
Fixes: 39bf39a394f94619d1135d48968704c09924c98b
https://bugzilla.redhat.com/show_bug.cgi?id=1458567
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Function nm_setting_duplicate() can't copy object's data.
As a result a value of the "Ignore CA certificate" checkbox was
always lost. So don't copy settings, just use g_object_ref() again
and remove the 8021x setting from the temporary object to prevent
the clearing of secrets.
https://mail.gnome.org/archives/networkmanager-list/2016-August/msg00109.html
Fixes: c21d56dd22057103c8125a49307b4ff47b5b644d
(cherry picked from commit 2c844acc8f00d9c1d3536b114208170c9cdbe7f2)
|
|
|
|
|
|
| |
and update po files accordingly
https://bugzilla.redhat.com/show_bug.cgi?id=1274505
|
|
|
|
|
|
|
|
|
| |
In case of wired 802-1x connection a temporary connection object is used,
but since NM commit 6a19e68a7d856629600655a076b0cea4be346799
secrets are cleared when the object is destroyed.
So duplicate 802-1x settings instead of using g_object_ref().
https://mail.gnome.org/archives/networkmanager-list/2016-May/msg00097.html
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a configuration setting is wrong, set the entry or file chooser
that contains the incorrect information to be surrounded by red.
This makes it easier for users to find where the error was made that
disallows them to click the "Apply" button.
See https://bugzilla.gnome.org/show_bug.cgi?id=734446
See https://bugzilla.gnome.org/show_bug.cgi?id=734472
https://bugzilla.gnome.org/show_bug.cgi?id=767210
|
| |
|
| |
|
|
|
|
|
|
| |
Every internal source file should include "nm-default.h"
as first. Therefore, also include "nm-config.h" via the
default header.
|
| |
|
|
|
|
|
|
|
|
|
| |
Changes in properties on a page may require changes on other pages. Let's add
an infrastructure for that.
When a change should influence other page(s), the information is set using
nm_connection_editor_inter_page_set_value(). And then that can be retrieved by
nm_connection_editor_inter_page_get_value() in another page in method
inter_page_change().
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a connection doesn't verify, the "Save" dialog stays desensitized.
Even for an advanced user it's not immediately clear what causes the
valdation failure.
We already print a message like "Invalid setting Ethernet" to stdout.
Extend the message to also print an more detailed error that gets propagated
from the validation.
This later should be improved further to indicating the failure reason
in the UI too.
|
|
|
|
|
|
| |
There are other function names with the same name.
This makes it hard to grep the source code to find
all type implementations of ce_page_validate().
|
|
|
|
| |
Based on a patch by Jiří Klimeš.
|
|
|
|
|
|
| |
Also, drop the "ssid" parameter from wireless_security_validate(),
since it would need to be different between the two versions, but it
turns out it's not actually used anyway.
|
|
|
|
|
| |
Remove unused 'disposed' private variables and make every dispose()
safe to be called multiple times.
|
|
|
|
|
|
|
|
|
| |
The previous commit introduced a new flag "No CA certificate required".
This change of the UI replaces the warning dialog (nag_dialog).
Remove all parts of the nag dialog from the code and translation files.
Signed-off-by: Thomas Haller <thaller@redhat.com>
|
|
|
|
| |
In particular, remove all gtk2-only code.
|
| |
|
| |
|
|
Update internal names to match the UI.
|