Commit graph

5853 commits

Author SHA1 Message Date
Robert Ancell
2a8b287d33 applications: Fix link to privacy panel
The privacy panel was removed in a4bdc37, so this link is broken.
We link to the first panel in the privacy section, which is what
is show when selecting this section.
2019-11-27 21:32:54 +00:00
Robert Ancell
3173ccefb7 sharing: Fix memory leak 2019-11-27 21:25:34 +00:00
Robert Ancell
f1e0666eca Simplify usage of g_variant_iter_loop
Access strings via pointers, which reduces copying and the chances of leaks.
Simplify cases where string arrays were modified - no need to replace the value as it's no longer allocated.
Always complete the loop so references are freed.
2019-11-27 21:25:34 +00:00
Umang Jain
8f513989ef cc-language-dialog: Increase height to 475px
Increase height so that "view-more-symbolic" icon appears
by default when the language-dialog is displayed. This
improves UI-feedback for the user for browsing additional
language entries.
2019-11-21 03:54:28 +00:00
Bastien Nocera
59607bb78a power: Add a fake UPS device
When a define is set.
2019-11-20 03:49:07 +00:00
Felipe Borges
0b91c02377 applications: Use "application-x-executable" when app has no icon 2019-11-17 22:56:27 +00:00
Felipe Borges
8438d1582c search: Make rows and its elements reachable via keyboard
Fixes #329
2019-11-17 22:51:56 +00:00
Felipe Borges
733a638a16 universal-access: Make rows and its elements reachable via keyboard 2019-11-15 13:49:54 +01:00
Robert Ancell
5021d4ee0f applications: Remove trailing whitespace 2019-11-13 13:16:06 +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
Carlo Caione
5bcbe07299 network: cleanup: Avoid toggling button twice
After checking the method property of the connection settings we set the
disabled toggle button twice. One is enough.
2019-11-13 14:55:08 +13:00
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
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
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
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
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
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