network: Handle cloned-mac setting
This can be set to 'preserve', 'permanent', 'random' or 'stable'. We need to handle these values otherwise we can end up with the editor being un-saveable. Turn the entry in to a GtkComboBoxText with those items in it, allowing a mac address to be typed too. Partial copy of 85b6b659a140a59c3df787062e089a0b4e2a547d from network-manager-applet.
This commit is contained in:
parent
538cbfb4da
commit
566db3a35f
8 changed files with 104 additions and 28 deletions
|
@ -50,7 +50,7 @@ struct _CEPageEthernet
|
|||
|
||||
GtkEntry *name;
|
||||
GtkComboBoxText *device_mac;
|
||||
GtkEntry *cloned_mac;
|
||||
GtkComboBoxText *cloned_mac;
|
||||
GtkSpinButton *mtu;
|
||||
GtkWidget *mtu_label;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue