David Bauer
1d0b664f7c
Add support for Enhanced Open WiFi security
2020-07-17 03:41:44 +00:00
Robert Ancell
5b14e16e9c
network: Connect signals with g_signal_connect_object in swapped form
2020-03-30 16:18:50 +13:00
David Bauer
97f6c8f53c
ce-page-details: add SAE support
2020-01-27 23:11:30 +00: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
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
eb7372d83b
network: Move connection reference outside of CEPage
2019-11-06 22:04:15 +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
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
7f410ee1c6
network: Remove helper functions
...
They're not complex enough or used in enough places to warrant keeping.
They can be better refactored in the classes that use them.
2019-10-22 20:11:45 +00:00
Robert Ancell
75b4e5e061
network: Simplify helper function
2019-10-22 20:11:45 +00:00
Robert Ancell
f03ae7ff93
network: Move common code UI into each widget using it
...
It was only used twice and better managed in the actual widgets.
2019-10-22 20:11:45 +00:00
Robert Ancell
9b1226aea5
network: Remove helper function with minimal value
...
This can be more easily optimised away in the modules that use it.
2019-10-22 20:11:45 +00:00
Robert Ancell
708b1fdaf7
network: Use self variable name consistently
2019-10-22 20:11:45 +00:00
Robert Ancell
8b6e3fb736
network: Store widgets inside objects
...
This is a step towards replacing GtkBuilder with GtkTemplate
2019-10-22 20:11:45 +00:00
Robert Ancell
b331d75df5
network: Rename widget IDs to standard names
2019-10-22 20:11:45 +00:00
Robert Ancell
54f8fce47f
network: Connect signals in swapped form
2019-10-22 20:11:44 +00:00
Robert Ancell
4955371660
network: Pass widget references rather than relying on names
...
The existing code relied on using GtkBuilder, which will no longer work when we
switch to GtkTemplate.
2019-10-22 20:11:44 +00:00
Robert Ancell
57d7a79034
network: Pass widget references rather than relying on names
...
The existing code relied on using GtkBuilder, which will no longer work when we
switch to GtkTemplate.
2019-10-01 14:47:23 +13:00
Robert Ancell
1d43f4c0f5
network: Simplify function
2019-10-01 14:46:14 +13:00
Robert Ancell
e70610fe74
network: Use g_autoptr for unref code
2019-09-13 14:20:50 +12:00
Robert Ancell
de84f7e344
network: Use g_autofree for strings
2019-09-13 14:20:50 +12:00
Robert Ancell
41e3426873
network: Fix warning about freeing const string
...
The use of g_clear_pointer (&str, g_free) with str being a const gchar *
caused warning errors.
Instead of using str for both constant and allocated strings use separate
variables. Autofree the allocated strings.
2018-11-14 10:40:10 +00:00
Bastien Nocera
9b9e0e076a
network: Don't show "Auto-connect" for VPNs
...
It's not supported for VPNs.
https://bugzilla.gnome.org/show_bug.cgi?id=792365
2018-02-16 10:52:08 +01:00
Georges Basile Stavracas Neto
24abbcf303
network: Turn metered data switch into a check button
...
Per guidance of the design team, since the dialog has not
enough room for switches.
2018-01-18 14:00:23 -02:00
Georges Basile Stavracas Neto
a37d04df42
connection-editor: Expose metered connection switch
...
NetworkManager supports marking a connection as metered, meaning
that connection is e.g. charged by its usage or extremely limited.
When a network is metered, background network usage must cease
and the behavior of the various OS pieces must be adjusted.
This patch adds a switch to set a connection as metered or not.
The property is imediately propagated to NetworkManager.
https://bugzilla.gnome.org/show_bug.cgi?id=792608
2018-01-18 00:37:31 -02:00
Georges Basile Stavracas Neto
3458566f7c
network: Adapt forget button label according to connection type
...
Per the mockup [1], the Forget button has different labels depending
on the connection type. For example, when editing a VPN connection,
the Forget button reads "Remove VPN", while when editing a Wi-Fi
connection reads "Forget Connection".
This patch adapts the forget button label according to the connection
type.
[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png
https://bugzilla.gnome.org/show_bug.cgi?id=779841
2017-06-14 16:41:10 -03:00
Georges Basile Stavracas Neto
8137036675
network: Drop Reset page
...
Following the latest mockups [1], the "Forget" button
is now available in the Details page, and the Reset page
is gone.
This patch then removes the Reset page, and moves the
functionality to the Details page.
[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png
https://bugzilla.gnome.org/show_bug.cgi?id=779841
2017-06-14 16:41:10 -03:00
Georges Basile Stavracas Neto
ce289c3824
network: Move checkboxes to Details page
...
In the advanced connection editor dialog, currently, the
options to share a connection with all users and to connect
automatically are inside the Identity page.
The redesigned connection editor, however, features these
options in the Details page as per the mockup [1].
Fix this by moving these options to the Details page.
[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png
https://bugzilla.gnome.org/show_bug.cgi?id=779841
2017-06-14 16:40:50 -03:00
Bastien Nocera
73a8d38946
network: Remove unused ->validate class implementations
...
The implementation of ->validate in the parent class will return TRUE if
there's no implementation in the child class, so no need to implement
those.
https://bugzilla.gnome.org/show_bug.cgi?id=769230
2016-08-30 17:15:33 +02:00
Bastien Nocera
9183d34947
network: Port to libnm 1.2
...
We also remove support for WiMAX (now unsupported by NetworkManager),
and InfiniBand (Enterprise feature), and the use of
the deprecated NM_SETTING_WIRELESS_SEC property.
With help from network-manager-applet patches by Jiří Klimeš and
Dan Winship.
https://bugzilla.gnome.org/show_bug.cgi?id=765910
2016-05-27 18:23:33 +02:00
Thomas Bechtold
07aaa06b1e
network: Plug memory leaks
2013-02-15 15:19:19 +01:00
Dan Winship
8cfe8d10ba
network: add VPN support to the connection editor
...
Unfortunately, the VPN plugins provide their own .ui files for their
editor pages, so we can't make them look competely GNOME-3-ish. But
the code does try to fix them up a little bit by realigning the
labels.
vpn-helpers.[ch] is nearly identical to network-manager-applet's,
but eventually this code will move into libnm-gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=691285
2013-01-30 13:05:34 -05:00
Matthias Clasen
8b593e6ac8
network: Implement the new design for wired
...
This expands the connection editor to cover ethernet,
and adds support for multiple wired profiles.
2013-01-30 13:05:33 -05:00
Matthias Clasen
e5cc7d8011
network: Break out wifi details code and add editing support
...
This code is fairly independent of the rest, and we don't want
net-device-wifi.c to become too massive and unmaintainable.
The code in connection-editor/ is fairly similar to
nm-connection-editor, with some simplification because we
currently only edit wireless connections.
The code in wireless-security/ is almost a straight copy
of the same code in nm-connection-editor, with some changes
to the .ui files to make them fit better in the new design.
2013-01-30 13:05:33 -05:00