network: Really fix clone MAC support
This isn't a container, but a text entry. Bug introduced in commit
6b043fd
.
This commit is contained in:
parent
dd8b63bdeb
commit
a2a70c7376
1 changed files with 2 additions and 5 deletions
|
@ -96,11 +96,8 @@ ui_to_setting (CEPageEthernet *page)
|
|||
device_mac = ce_page_trim_address (text);
|
||||
}
|
||||
|
||||
entry = gtk_bin_get_child (GTK_BIN (page->cloned_mac));
|
||||
if (entry) {
|
||||
text = gtk_entry_get_text (GTK_ENTRY (entry));
|
||||
cloned_mac = ce_page_trim_address (text);
|
||||
}
|
||||
text = gtk_entry_get_text (GTK_ENTRY (entry));
|
||||
cloned_mac = ce_page_trim_address (text);
|
||||
|
||||
g_object_set (page->setting_wired,
|
||||
NM_SETTING_WIRED_MAC_ADDRESS, device_mac,
|
||||
|
|
Loading…
Add table
Reference in a new issue