Philip Withnall
ef21229a5b
network: Tweak wording of metered data checkbox in connection dialog
...
Make it clearer in two ways:
• Explicitly mention ‘metered data’, as that’s a commonly used phrase.
• Explicitly mention automatic software updates as being disabled on
metered connections, to make the implications of this checkbox a
little clearer.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Helps: https://gitlab.gnome.org/GNOME/gnome-software/merge_requests/339
2020-01-08 15:46:22 +00:00
Robert Ancell
96b1052bcd
network: Remove markup from translatable strings
2020-01-06 16:57:43 +00:00
Georges Basile Stavracas Neto
86a8ecb705
panel-list: Temporarily move the Network panel to below Wi-Fi
...
This is until we merge the Network, Wi-Fi, and Mobile Broadband
panels.
2020-01-06 15:15:30 +00:00
Robert Ancell
4c6208dc66
network: Fix memory leaks using g_find_program_in_path
...
Added in d61d13d
2019-12-18 00:31:54 +00:00
Carlos Garnacho
2ff526ecfb
network: Update VPN empty label status after removing VPN connection
...
Being the VPN list actually a collection of listboxes, this function
ensures it looks alright in other places. However the case of removing
all VPN connections till we're back empty was missed.
2019-12-12 23:06:45 +01:00
Carlos Garnacho
1ce1fbe3c8
network: Make list in "new VPN" dialog fill up space
...
The list holding the different supported VPN types is currently relying
on its content in order to expand horizontally. This comes out odd
if the list is mostly empty or has no specially wide content, as it is
then centered in the dialog.
Have it fill the available space, and align vertically on top.
2019-12-04 20:30:49 +01:00
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