Commit graph

21941 commits

Author SHA1 Message Date
sunflowerskater
34bbc50870 screen: Make some strings shorter
The strings related to screen blank are long and cumbersome.

This commit makes these strings shorter, following the advice from:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1433#note_1607990
2023-01-09 14:46:44 +00:00
Marco Melorio
ff151bef43 sound: Don't flip the balance and fade sliders in RTL
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1067.
2023-01-09 12:09:55 +00:00
raihan2000
1250b0f4d7 file-history:Added dialog on Clear History button
- Rewrite clear_recent function to show dialog.
- Added on_clear_recent_warning_response_cb function
- to show warning on clicking Clear History button.
This commit fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1952
2023-01-09 11:25:10 +00:00
sunflowerskater
0dd780f1b7 cc-window: Don't trigger main search when pressing CTRL+S
CTRL+S is reserved for the "Save" action. HIG recommends to use CTRL+F to trigger search:
https://developer.gnome.org/hig/reference/keyboard.html?highlight=Find

Since CTRL+F already triggers main search, this commit just removes the CTRL+S shortcut.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2280
2023-01-06 21:19:02 -03:00
Vasil Pupkin
a200eacffb Update Belarusian translation 2023-01-06 14:25:53 +00:00
Lukáš Tyrychtr
cb333cd59c Fix accessibility of the buttons in the test sound output dialog
They had only icons, so name them for screen readers.
2023-01-06 09:56:09 -03:00
sunflowerskater
c5c64f2b7d keyboard: Add "Hotkey" keyword
Currently, it's not possible to find the Keyboard panel by searching for "hotkey".

This commit adds the "hotkey" word to the *.desktop.in file.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/283
2023-01-06 12:40:19 +00:00
Mohammed Sadiq
bc919b82c0 panel-list: Switch to main list if custom sidebar is not set
If the previously shown panel had a custom sidebar, we were not switching
back to the main list if the currently shown panel doesn't have one.

This will result in the sidebar having empty content.

Fix it by always switching to main sidebar view if no custom sidebar widget
is set.

Fixes #2261
2023-01-06 12:37:45 +00:00
sunflowerskater
8e43d2c53d wi-fi: Rename "Known Networks" to "Saved Networks"
This change follows the latest mockups, which use the term "Saved Networks":
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/network/wifi-settings.png
2023-01-06 12:26:37 +00:00
Felipe Borges
8501fe94b8 Revert "multitasking: Remove usage of deprecated gtk_widget_show"
The rows in this panel are created dynamically depending on the type
of content they show. We don't want to show an artwork_box when there's
no artwork in a given row, but when there is, we still need to call
gtk_widget_show. Same for suffix widgets.

This reverts commit 82b26b9861.
2023-01-06 11:20:41 +01:00
Maksym Hazevych
3ed78418c5 flatpak: Disable XWayland for mutter
Mutter's XWayland option requires Wayland option to be enabled and
XWayland run-time dependecy to be present. Both conditions aren't met,
and that's why the flatpak build was failing for me.
2023-01-06 01:19:45 +02:00
Felipe Borges
294156c0f9 Drop most uses of deprecated gtk_style_context_add/remove_class
GtkStyleContext will be deprecated in gtk 4.10.
https://docs.gtk.org/gtk4/class.StyleContext.html

This preserves code blocks where additional GtkStyleContext operations
were used, such as gtk_style_context_save/restore.
2023-01-05 18:55:51 +00:00
sunflowerskater
2a33969a3b firmware-security: Fix strings and mark some of them as translatable
- There is a typo in a string: "avaliable" instead of "available"
- "Starting Device Security" string doesn't use an ellipsis char
- Some strings aren't marked as translatable

This commit marks the strings as translatable, fixes the typo and adds the necessary ellipsis char.
2023-01-05 12:02:57 +00:00
Yosef Or Boczko
514f7bdef2 Update Hebrew translation 2023-01-05 11:38:41 +00:00
Sebastian Keller
4f850f1b47 sound: Update sounds directory mtime when changing alert sound
The libcanberra event-sound-cache that stores the resolved paths for
sound names can get stuck with the fallback sound (bell) after trying to
play an invalid symlink, such as can happen after updating to 43 which
removed some sounds which might have been selected as alert sounds
before.

Neither changing the symlink nor touching the theme directory seems to
invalidate that cache, but touching the sounds directory does.

This now updates the sounds directory mtime before triggering purging
the sound sample cache in the sound server via g-s-d so libcanberra will
load the correct sounds when repopulating the sample cache afterwards.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2277
2023-01-04 18:23:07 +00:00
Anders Jonsson
886aa5772f Update POTFILES.in 2023-01-04 18:21:18 +00:00
Kate Hsuan
c6bdea361b panel: firmware-security: About dialog for showing the panel description
An about dialog is used to show the description of the device security panel.

Fix: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2204

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2023-01-04 17:54:26 +00:00
Mohammed Sadiq
bf61c22710 a11y: Update title when the panel is created
Otherwise, the panel shall have an empty headerbar with no title
when a user switches to the panel
2023-01-04 13:28:13 +00:00
Felipe Borges
bcbfe838e0 mouse: Overlay test button on top of artwork
Fixes #2215
2023-01-03 13:57:53 +00:00
sunflowerskater
93e1a20125 mouse-touchpad: Mark some a11y labels as translatable
The a11y labels from Touchpad Speed and Mouse Speed aren't marked as translatable.

This commit marks these labels as translatable.
2023-01-03 13:45:43 +00:00
sunflowerskater
883794fcde mouse-touchpad: Include marks in the mouse/touchpad speed scales
Currently, the mouse/touchpad speed scales lacks slow, default and fast marks.

This commit adds the necessary marks.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1681
2023-01-03 13:45:43 +00:00
sunflowerskater
44823bc1e3 applications: Change "View Details" button label to "App Details"
"View Details" button doesn't indicate clearly what it does.

This commit change the button label to "App Details".

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2186
2023-01-03 12:58:28 +00:00
Marco Melorio
088edd6c35 power: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Marco Melorio
a26f9f3346 screen: Remove usage of deprecated gtk_widget_hide 2023-01-02 22:10:39 +00:00
Marco Melorio
c470cd30c1 region: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Marco Melorio
9fc2b6c7f9 overview: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Marco Melorio
82b26b9861 multitasking: Remove usage of deprecated gtk_widget_show
They were completely useless here.
2023-01-02 22:10:39 +00:00
Marco Melorio
d4ee610a1a applications: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Marco Melorio
d39f9e5efc notifications: Remove usage of deprecated gtk_widget_show 2023-01-02 22:10:39 +00:00
Marco Melorio
de00794e1a mouse: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Marco Melorio
a9e2dc6c84 default-apps: Remove usage of deprecated gtk_widget_show/hide 2023-01-02 22:10:39 +00:00
Marco Melorio
acadd521b1 display: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Fina Wilke
50ca872a96 flatpak: Add GNOME Shell and Mutter dependencies
These changes were copied from
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1392/diffs?commit_id=073cc5c632185772764060deb5e798e79523e2bc
So I am (felipeborges) preserving Fina Wilke's authorship.

Fixes #2262

Signed-off-by: Felipe Borges <felipeborges@gnome.org>
2023-01-02 15:34:35 +01:00
Eric Daigle
2c68c0064a printers: Set search button/entry as sensitive when printers list is empty
Currently, the search function is available when there are no printers. However, it does nothing.

This commit set the search button and entry as sensitive.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2021
2023-01-02 12:29:15 +00:00
sunflowerskater
e27d13183e sharing: Rename "Computer Name" AdwEntryRow to "Device Name"
Currently, the "Computer Name" AdwEntryRow has some problems due to its label name:

- It's inconsistent with the AdwEntryRow from info-overview, which uses the label "Device Name"
- "Computer Name" isn't suitable for other kind of devices
2023-01-02 12:18:55 +00:00
Efstathios Iosifidis
3b28f70bb6 Update Greek translation
(cherry picked from commit a19677c30c)
2022-12-30 21:50:05 +00:00
Yosef Or Boczko
4648296a70 Update Hebrew translation 2022-12-27 23:10:19 +00:00
Yosef Or Boczko
a09aff4810 Update Hebrew translation 2022-12-27 23:04:57 +00:00
Yuri Chornoivan
3f00fa59fb Update Ukrainian translation 2022-12-23 14:48:15 +00:00
Marco Melorio
efc66144a7 sound: Implement the new output test design 2022-12-21 19:29:58 +00:00
Felipe Borges
f394db29f7 thunderbolt: Ensure client and devices exist when setting visibility
Fixes #2253
2022-12-21 19:26:32 +00:00
Georges Basile Stavracas Neto
543ba4d58a applications: Don't recurse into symlinks when clearing cache
Oh boy... what can I say.

Sadly Builder symlinks to somewhere where we eventually end up in
the home folder. And delete all files.

:(

Pass the FTW_PHYS flag to nftw() so it doesn't follow symlinks.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2153
2022-12-21 13:45:48 -03:00
Marco Melorio
5f4bfd567a sound: Make the level bars less jittery
Use Exponential Moving Average (EMA) to achieve this. The way it works
is to take the previous values in consideration by giving more weight to
the more recent ones. This makes the level bar appear more smooth and
less jittery.
2022-12-21 01:39:38 +01:00
Marco Melorio
4e8924fbfd sound: Move level bars to section headers 2022-12-21 01:39:38 +01:00
Marco Melorio
ba4e983b97 sound: Port CcLevelbar to use a GtkLevelBar internally 2022-12-21 01:39:36 +01:00
TheEvilSkeleton
4ddfecc79d display: Set underscanning_row as activatable widget 2022-12-20 09:24:21 +00:00
TheEvilSkeleton
20378fc9a4 mouse: Set rows as activatable widgets 2022-12-20 09:20:29 +00:00
Aleksandr Melman
e731f73969 Update Russian translation 2022-12-20 09:14:31 +00:00
sunflowerskater
7366eee9ee power: Show a description for Battery Percentage switch
Battery Percentage switch don't offer a description explaining where the percentage will be shown.

This commit adds a description to better explain what this option does.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1641
2022-12-15 16:24:05 -03:00
Felipe Borges
2f3a0ff306 search: Let users toggle GNOME Settings search provider
This was actually deadcode since commit acd59aec6 aka "The Great
Renaming".

Fixes #1282
2022-12-15 15:57:17 +00:00