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
Robert Ancell
9759121e7f
network: Convert CEPage from a class to an interface
2019-11-06 22:04:15 +13:00
Robert Ancell
c7f7022ed3
network: Remove unused variable
2019-11-06 22:04:15 +13:00
Robert Ancell
eb7372d83b
network: Move connection reference outside of CEPage
2019-11-06 22:04:15 +13:00
Robert Ancell
fc25e17a9f
network: Replace GtkNotebook with GtkStack
2019-11-06 22:04:15 +13:00
Robert Ancell
d163fb3f22
network: Remove unused GtkNotebooks and pages that are never shown
...
This has the side effect of allowing these pages to be shorter - the hidden
widgets forced the visible widgets to have a minimum height. If the old
behaviour is desired then this requires this to be fixed using a better
method.
2019-11-06 22:02:49 +13:00
Robert Ancell
db16aac28c
network: Remove empty files
2019-11-06 16:41:34 +13:00
Robert Ancell
d46579144e
network: Move GtkBuilder code from CEPage to its subclasses
2019-11-06 16:41:34 +13:00
Robert Ancell
eb4e124b04
network: Get connection editor root widget from a virtual method
2019-11-06 16:36:55 +13:00
Robert Ancell
f5949160c3
network: Move class property inside the two subclasses that use it
2019-11-06 16:36:55 +13:00
Robert Ancell
80a2af7f32
network: Remove unused GCancellable
2019-11-06 16:36:55 +13:00
Robert Ancell
3a86e6f162
network: Convert class property to a virtual method
2019-11-06 16:36:54 +13:00
Robert Ancell
4178b9404b
network: Remove unused signal signatures
2019-11-06 16:36:06 +13:00
Robert Ancell
d327e20a10
network: Replace GObject boilerplate with modern macros
2019-11-06 16:36:06 +13:00
Robert Ancell
0106a4ab90
network: Convert class property to a virtual method
2019-11-06 16:36:06 +13:00
Robert Ancell
413f23ec99
network: Rename virtual method to standard names
2019-11-06 16:33:07 +13:00
Robert Ancell
f335ed420f
network: Move widget code into GtkBuilder
2019-11-06 10:40:23 +13:00
Robert Ancell
39113f6a03
network: Move signals into GtkBuilder files
2019-11-06 10:40:23 +13:00
Robert Ancell
36449d60c7
network: Convert NetDeviceEthernet, NetDeviceBluetooth and NetDeviceMobile to GtkTemplate
...
This means NetObject is now obsolete and can be removed.
There was a GtkSizeGroup that the mobile settings used, but it isn't clear if
this is still relevant. It should be added back later if found to be (this code
is likely to be removed to make way for a dedicated mobile panel).
2019-11-06 10:40:23 +13:00
Robert Ancell
ff042560d6
network: Remove unused sizegroup
2019-11-06 10:40:23 +13:00
Robert Ancell
a75dbf033c
network: Make NetVpn constructor consistent with other constructors
2019-11-06 10:40:23 +13:00
Robert Ancell
93a269f8df
network: Convert NetVpn to GtkTemplate
2019-11-06 10:40:23 +13:00
Robert Ancell
b3e372becd
network: Convert NetProxy to GtkTemplate
...
This whole widget was added to a size group with some elements of the mobile
devices. This seems a mistake, but can be added back later if found to be
necessary.
2019-11-06 10:40:23 +13:00
Robert Ancell
7b01c11840
network: Convert NetDeviceWifi to GtkTemplate
2019-11-06 10:40:23 +13:00
Robert Ancell
7e84af0d6d
network: Remove net_object_emit_changed
...
Turns out nothing was actually listening to it.
2019-11-06 10:40:23 +13:00
Robert Ancell
a39ebd5bda
network: Remove net_object_get/set_title
2019-11-06 10:40:23 +13:00