Commit graph

19324 commits

Author SHA1 Message Date
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
Bastien Nocera
2e99dd4f5e keyboard: Add "Alternate Characters Key" configuration
This adds an entry to select the "Level 3" selection key, which is
usually Right Alt (or Alt-Gr on a majority of keyboards).
Mockups at [1].

However, we replaced the "Left Ctrl" key option with a "Menu key"
option, as "Left Ctrl" isn't a possible XKB option for the level3 key.

[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/keyboard/keyboard-wires.png
2019-11-11 16:19:50 +13:00
Bastien Nocera
3fe047828c keyboard: Rename listbox to shortcuts_listbox
So that we can add another listbox and not confused them.
2019-11-11 16:19:41 +13:00
Piotr Drąg
72b4dec098 Update POTFILES.in 2019-11-08 18:28:13 +01:00
Mohammed Sadiq
b871084080 info-overview: Fix a memory leak 2019-11-08 14:40:23 +05:30
Robert Ancell
19ccad96ae Whitespace fixes for g_autoptr coding style 2019-11-08 09:42:10 +13:00
Georges Basile Stavracas Neto
aed05547f3 panel-list: Reorganize panel order
This does not currently implements all the changes
in panel order defined by the latest mockups [1],
but only moves Privacy and Applications to their
appropriate places.

[1] https://gitlab.gnome.org/Teams/Design/settings-mockups/blob/master/shell/settings-cleanup.png
2019-11-07 14:40:07 +13:00
Georges Basile Stavracas Neto
e677539b28 panel-list: Only use panel id to sort
Right now, the sort function checks for two different
fields when comparing panel rows: the category of the
row, and the id of the panel. When comparing using the
category, it relies on the order of the enum values of
CcPanelCategory. When comparing by panel ids, it uses
the hardcoded positions defined in the 'panel_order'
array.

Using categories, however, is unecessary for our case,
and makes sorting a tad more complicated than it should
be.

Remove the category comparison of the sort function, and
rely only on the positions defined in 'panel_order'.
2019-11-07 14:40:07 +13:00
Matthias Clasen
a4bdc37760 Remove the privacy panel
It has been turned into a herd of panels.
2019-11-07 14:40:07 +13:00
Matthias Clasen
757b055eb4 Add a usage panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00
Matthias Clasen
38f5446302 Add a microphone panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00
Matthias Clasen
ff1b88dae1 Add a lock panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00
Matthias Clasen
f92f6f5cf1 Add a location panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:07 +13:00
Matthias Clasen
13a4f9a2af Add a diagnostic panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:40:06 +13:00
Matthias Clasen
5c36cc837d Add a camera panel
This is a broken out version of the privacy panel dialog.
2019-11-07 14:34:26 +13:00
Matthias Clasen
a4e1b85760 Add meson plumbing for new panels
The new panels are going to appear in the next commits.
2019-11-07 14:19:23 +13:00
Matthias Clasen
3860a2e2af shell: Add a new privacy section
This will be filled out in the next commits.

Probably doesn't build because it includes all the type funcs.
2019-11-07 14:19:23 +13:00
Georges Basile Stavracas Neto
255a1ab948 power: Move helper function to panels/common
It will be used by the Lock Screen panel in the future.
2019-11-07 14:19:23 +13:00
Mohammed Sadiq
af76f51976 display: Reduce some margins in night light page
So that the display panel can reach smaller widths
2019-11-06 17:12:27 +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
Robert Ancell
2752f38a72 network: Remove net_object_emit_removed 2019-11-06 10:40:23 +13:00
Robert Ancell
577762b60c network: Remove NetDevice class
We don't need the NetObject/NetDevice class separation anymore
2019-11-06 10:16:40 +13:00