Commit graph

19508 commits

Author SHA1 Message Date
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
Will Thompson
c016a1e6da flatpak: fix typo in "cryptsetup" module definition 2019-11-28 06:39:51 +00:00
Robert Ancell
5dbbc20918 shell: Show the submenu icon hint for the applications panel
The panel swarms details/devices/privacy show this icon. Since the applications
panel is not made from sub-panels, this doesn't show. For consistency this shows
the icon so the transition isn't as jarring for the user.

Add a flat into the panel .desktop file to enable this - other panels might
require this in the future
2019-11-28 11:20:41 +13: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
34cb560009 wacom: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
667fe61e78 sound: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
51e0b38774 sharing: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
3a95330b17 search-provider: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
c5d7cf832e removable-media: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
df85304107 online-accounts: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
d2ddaa99ea region: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
Robert Ancell
17c5c3932a mouse: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00