Carlos Garnacho
23303245af
network: Keep a ref on NetDeviceEthernet while a edition dialog is open
...
Otherwise, invoking other panel (eg. through shell search, or CLI) and
closing the dialog will result in a crash, as the NetDeviceEthernet
object does no longer exist.
2019-11-29 11:22:56 +01:00
Robert Ancell
c37ab4032b
network: Fix warnings after removing a VPN
...
This is due to the object being accessed after being unreffed - connect the signal
so it is removed when the object is finalized.
This regression was introduced in 93a269f8
when switching to GtkTemplate.
2019-11-28 13:21:11 +00:00
Robert Ancell
acc8aff5d0
network: Remove certificate helper function
...
It didn't really save any code.
2019-11-27 22:05:46 +00:00
Robert Ancell
63c3f3e0a4
network: Add a changed signal to EAPMethod
...
This stops us emitting the signal on the parent object directly
2019-11-27 22:05:46 +00:00
Robert Ancell
e6b91c7a5d
network: Remove wired checks from dynamic WEP code
...
This widget is only used for wireless networks.
2019-11-27 22:05:46 +00:00
Robert Ancell
3657a4e602
network: Simplify dynamic WEP and EAP auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
bd7491bc5c
network: Move common code to common location
...
Remove duplicate header file for these functions
2019-11-27 22:05:46 +00:00
Robert Ancell
f63ac35b41
network: Remove unnecessary nm-default.h
2019-11-27 22:05:46 +00:00
Robert Ancell
8bcc2f811a
network: Move helper function with other helper code
2019-11-27 22:05:46 +00:00
Robert Ancell
f75affbfe0
network: Copy shared functions into the two cases it is used
...
This does increase duplication, but should be reduced in following refactoring.
2019-11-27 22:05:46 +00:00
Robert Ancell
d689224941
network: Simplify helper function
...
This will allow us to remove ws_802_1x_fill_connection in a following commit.
2019-11-27 22:05:46 +00:00
Robert Ancell
c8231a5099
network: Simplify TTLS inner auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
90c190dd5c
network: Simplify PEAP inner auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
e450543a6a
network: Simplify FAST inner auth widgets
2019-11-27 22:05:46 +00:00
Robert Ancell
20097e2cbe
network: Simplify helper function
...
The function took internal details of the few classes that were using it.
2019-11-27 22:05:46 +00:00
Robert Ancell
748a508640
network: Make EAP widgets not visible by default
...
This makes them more consistent with other widgets.
2019-11-27 22:05:46 +00:00
Robert Ancell
737e5829d6
network: Move private defines out of public header
2019-11-27 22:05:46 +00:00
Robert Ancell
f806854560
network: Remove a helper function
...
This makes more sense to be in the two cases it is used. It should be refactored away in the future.
2019-11-27 22:05:46 +00:00
Robert Ancell
131e89e690
network: Split up a combined setter into multiple methods
2019-11-27 22:05:46 +00:00
Robert Ancell
e5ae62a6a3
network: Convert WirelessSecurity property to a virtual method
2019-11-27 22:05:46 +00:00
Robert Ancell
125d971ebe
network: Replace a callback with a signal
2019-11-27 22:05:46 +00:00
Robert Ancell
3d06da2d30
network: Convert WirelessSecurity into a GObject
2019-11-27 22:05:46 +00:00
Robert Ancell
4b182dd7c0
network: Move GtkBuilder code from WirelessSecurity to subclasses
2019-11-27 22:05:46 +00:00
Robert Ancell
0f1cff9130
network: Convert EAPMethod classes to GtkTemplates
2019-11-27 22:05:46 +00:00
Robert Ancell
5006342308
network: Convert EAPMethod to an interface and make the subclasses GObjects
2019-11-27 22:05:46 +00:00
Robert Ancell
426896b7a2
network: Move EAPMethod property to a virtual method
2019-11-27 22:05:46 +00:00
Robert Ancell
2e8226a09c
network: Move EAPMethod property to a virtual method
2019-11-27 22:05:46 +00:00
Robert Ancell
113bead879
network: Move GtkBuilder code from EAPMethod to subclasses
2019-11-27 22:05:46 +00:00
Robert Ancell
b936955ff3
network: Access widgets via a virtual method, not the GtkBuilder IDs
2019-11-27 22:05:46 +00:00
Robert Ancell
5c3fd6417c
network: Add a method to stop a class peeking inside the GtkBuilder object of another
2019-11-27 22:05:46 +00:00
Robert Ancell
6d35ec3160
network: Fix up header includes
2019-11-27 22:05:46 +00:00
Robert Ancell
71785b9109
network: Make a method private
2019-11-27 22:05:46 +00:00
Robert Ancell
0478abe46c
network: Remove unused hotspot_compatible property
2019-11-27 22:05:46 +00:00
Robert Ancell
08b922f09d
network: Merge public method that is only used internally once
2019-11-27 22:05:46 +00:00
Robert Ancell
13211f9f4d
network: Remove unused variable
2019-11-27 22:05:46 +00:00
Robert Ancell
ac566aaaf3
network: Remove unused function
2019-11-27 22:05:46 +00:00
Robert Ancell
1c2d2ca79b
network: Simplify helper
2019-11-27 22:05:46 +00:00
Robert Ancell
08b26a93a7
network: Simplify helper functions
2019-11-27 22:05:46 +00:00
Robert Ancell
69a5b8750b
network: Simplify helper function
2019-11-27 22:05:46 +00:00
Robert Ancell
f2111a85f5
network: Simplify helper function
2019-11-27 22:05:46 +00:00
Robert Ancell
0189d5001f
network: Make function for common code
2019-11-27 22:05:46 +00:00
Robert Ancell
e9973011b1
network: Remove unused enum
2019-11-13 15:12:46 +13:00
Carlo Caione
dfb54d0cad
network: Add option for connection sharing
...
Introduce a new IP{4,6} config method to allow sharing the default
network (usually the Internet) through the wired interface.
This is needed because the control-panel is lacking this feature backed
by nm and currently the only way to enable the connection sharing is by
using nm-connection-editor.
2019-11-13 15:12:01 +13:00
Carlo Caione
408f2775ec
network: cleanup: Rework disabled toggle button
...
The disable toggle button isn't special and there is no real need for it
to not be managed as all the other radio buttons.
2019-11-13 15:10:48 +13:00
Carlo Caione
5bcbe07299
network: cleanup: Avoid toggling button twice
...
After checking the method property of the connection settings we set the
disabled toggle button twice. One is enough.
2019-11-13 14:55:08 +13:00
Bastien Nocera
5bf43b92ac
wifi: Show the frequency used by the Wi-Fi network
...
https://bugzilla.gnome.org/show_bug.cgi?id=722550
2019-11-11 03:33:50 +00:00
Bastien Nocera
e0e085f525
wifi: Show Wi-Fi frequencies the hardware supports
...
https://bugzilla.gnome.org/show_bug.cgi?id=722550
2019-11-11 03:33:50 +00:00
Robert Ancell
1c4cf953d6
network: Remove unused function
2019-11-06 22:04:15 +13:00
Robert Ancell
7ea59681e9
network: Remove unused method
2019-11-06 22:04:15 +13:00
Robert Ancell
eb0bac874c
network: Convert CEPage widgets to GtkTemplate
2019-11-06 22:04:15 +13:00