Commit graph

19132 commits

Author SHA1 Message Date
Ondrej Holy
65d3b71d98 user-accounts: Fix password dialog hangs
On Fedora 31, the "Current Password: " prompt is printed by passwd,
when I enter my current password wrongly. It is not clear to me why
and I don't know how to debug the PAM stack, but it causes that the
checkmark for the old password field is not reliable and what is worse
it causes the dialog hangs when it is submitted. Let's add check for
the "urrent" keyword to fix this issue.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/766
2019-11-12 12:26:29 +00:00
Robert Ancell
ea22446ad1 sound: Remove reference to unused widget 2019-11-12 14:31:14 +13:00
Stas Solovey
d03225d4e9 Update Russian translation 2019-11-11 18:47:28 +00:00
Georges Basile Stavracas Neto
01193fb7ce keyboard: Remove stray debug messages
These sneaked in in !19. Remove them.
2019-11-11 14:34:24 -03:00
Daniel Mustieles
f4b8f39b18 Updated Spanish translation 2019-11-11 12:43:25 +01:00
Daniel Mustieles
208386ff0f Updated Spanish translation 2019-11-11 12:36:23 +01:00
Piotr Drąg
37d6fdab91 Update POTFILES.in 2019-11-11 12:08:34 +01:00
Ondrej Holy
29367abbb0 user-accounts: Fix password dialog crashes
Currently, the password_entry_timeout() callback can be called even after
the dialog disposal, which leads to segfaults. This is because the
corresponding source ids can be cleared in some cases without removing
the sources. Let's prevent direct calls of password_entry_timeout()
without destroying the source ids in order to fix this issue.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/760
2019-11-11 03:51:12 +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
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