Commit graph

22863 commits

Author SHA1 Message Date
Automeris naranja
4b1147add9 search-locations-dialog: Add ellipsis to the "Add Location" button
"Use an ellipsis (…) at the end of a label if further input or confirmation
is required from the user before the action can be carried out"

https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-03 14:26:26 +00:00
Automeris naranja
bc8eed3eca help-overlay: Remove "CTRL+S" and include "CTRL+F"
CTRL+S is no longer a shortcut to trigger search ever since
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1609,
because is a shortcut reserved for saving a file/content:
https://developer.gnome.org/hig/reference/keyboard.html

Also, CTRL+F, which is the shortcut recommended by HIG to trigger search,
already triggered the search bar in Settings prior to change that removed CTRL+S.
However, this shortcut was absent from the shortcuts window.
2023-10-03 11:57:22 +00:00
Michael Catanzaro
6219cbdca5 network: fix editing connections without a device
For example, fix adding new VPN connections.

In 60b4956c05 I correctly observed that we
need to not run code that requires a device when there is no device.
NetConnectionEditor is a multipurpose dialog and self->device is
optional when creating the dialog. E.g. when modifying VPN
configuration, we update just the configuration, not an NMDevice.

However, I added this check too soon, before updating the connection
configuration. We need to update the configuration first, then only bail
before proceeding to update the device, not sooner.

Fix #2668
2023-10-03 11:03:06 +00:00
Felipe Borges
2397db38c3 network: Replace use of deprecated gtk_widget_hide
In favor of gtk_widget_set_visible
2023-10-03 11:41:07 +02:00
Ondřej Pohořelský
9d1af3de28 wifi: disable hotspot row when Wi-Fi is not active
There is no point in showing hotspot creation dialog when it can't
enable the hotspot without Wi-Fi adapter enabled.
2023-10-03 09:33:08 +00:00
kramo
6a95124c88 keyboard: Add outline to shortcut graphic arrows 2023-10-03 09:08:05 +00:00
Felipe Borges
358a952f70 mouse: Fix linked style of primary mouse button in RTL
Commit d980e0ffee fixed an issue when the "Left" button would appear
at the right side for RTL languages given that GtkBox would reorder
its horizontal children to RTL direction.

The solution at the time was to force the primary-button box to stay
in LTR direction when the rest of the interface is shown in RTL.
This introduced a regression where the CSS "linked" style of the
buttons used was the LTR one, breaking the "linked" styling.

This fix will manually reorder the Left/Right buttons rather than
calling gtk_widget_set_direction on the primary-button-box.

Fixes #2649
2023-10-03 09:00:47 +00:00
Marcos Miller
dbc68c7123 general: better variable names
Changes variable name magnify_factor_spin and number_of_workspaces_spin
by adding 'row' to match the AdwSpinRow object.
2023-10-03 08:59:11 +00:00
Marcos Miller
5c1cfcace2 multitasking: uses g_settings_bind_no_sensitivity 2023-10-03 08:59:11 +00:00
Marcos Miller
6a0f157140 universal-access: use AdwSpinRow in Zoom > Magnification Factor 2023-10-03 08:59:11 +00:00
Marcos Miller
43f1a2ad4a multitasking: use AdwSpinRow in number of workspace
When starting the panel, it was necessary to add the sensitive
property to 'number_of_workspaces_spin', because when doing the
'g_settings_bind' it was leaving it visible even with the dynamic
workspaces option active.
2023-10-03 08:59:11 +00:00
Sabri Ünal
720d0d6603 Update Turkish translation 2023-10-01 19:03:43 +00:00
Fabio Tomat
48618423c8 Update Friulian translation 2023-09-28 18:04:18 +00:00
Aurimas Černius
530ba53531 Update Lithuanian translation
(cherry picked from commit 38b0bc5667)
2023-09-25 20:09:48 +00:00
Rafael Fontenelle
09b1ad3a53 Update Brazilian Portuguese translation
(cherry picked from commit cef09dfa7d)
2023-09-25 13:27:03 +00:00
Martin
8544303ecd Update Slovenian translation
(cherry picked from commit a9d37c85d1)
2023-09-24 15:35:34 +00:00
Danial Behzadi
456fa5ffb1 Update Persian translation
(cherry picked from commit 8922e6220c)
2023-09-24 12:35:28 +00:00
Piotr Drąg
a291274143 Update Polish translation 2023-09-24 14:28:08 +02:00
Kristjan SCHMIDT
657cc8fb8a Update Esperanto translation
(cherry picked from commit aacba75357)
2023-09-23 23:34:42 +00:00
Danial Behzadi
51366640a2 Update Persian translation
(cherry picked from commit 538201116f)
2023-09-23 15:24:44 +00:00
Balázs Úr
5d1a3009cb Update Hungarian translation 2023-09-22 22:50:36 +00:00
Felipe Borges
687540a09d docs: Add CODEOWNERS file
This file allows us to manage the gitlab permission responsibilities
between contributors and offers more granularity than the DOAP file.

This initial version includes the exact same information as the
gnome-control-center.doap file.

From now on, we could invite and add contributors that have expertize
in certain parts of the codebase and add them to this file. These
don't need to be made responsible for entire panels, but could be
specific to certain domain-specific files.

This was inspired by GLib's CODEOWNERS file
https://gitlab.gnome.org/GNOME/glib/-/blob/5803a248/docs/CODEOWNERS
2023-09-22 11:53:00 +00:00
Felipe Borges
295761a60e doap: Remove Benjamin Berg as contact maintainer for the Display panel
per discussion in
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1903#note_1837059
2023-09-22 11:53:00 +00:00
Marco Melorio
7b8a756a57 shell: Remove unused "sidebar-activated" signal from CcPanel 2023-09-22 11:45:02 +00:00
Marco Melorio
e413f3fd91 shell: Remove unneeded custom title-widget in main window
It was using the same title that was already defined in the
AdwNavigationPage of the sidebar.

Also remove some unneeded template bindings.
2023-09-22 11:45:02 +00:00
Marco Melorio
3d04632554 shell: Remove AdwNavigationView from the sidebar
We don't need it anymore now that we removed support for sidebar
subpages.
2023-09-22 11:45:02 +00:00
Marco Melorio
46021b152d shell: Remove sidebar subpages support from panels
They are now unused and they should not be used anymore in new panels.
2023-09-22 11:45:02 +00:00
Felipe Borges
9843d275d7 po: Update POTFILES.in with the latest changes in the Apps panel
The Apps panel now contains pages that used to be panels (Default
Apps and Removable Apps).

This POTFILES.in update allows for translators to translate the
strings in these files.
2023-09-22 10:43:19 +00:00
Marco Melorio
cd5a80c268 privacy: Fix crash in the firmware security page
Make sure the timeouts are stopped when the page is finalized.
2023-09-22 10:41:14 +00:00
Kristjan SCHMIDT
78a526e200 Update Esperanto translation
(cherry picked from commit 8cfd9bb72c)
2023-09-21 22:30:40 +00:00
Asier Sarasua Garmendia
b3ee8e02fb Update Basque translation
(cherry picked from commit 43ca1672c8)
2023-09-21 17:28:29 +00:00
Alexandre Franke
93c2bf94d4 Update French translation 2023-09-21 15:15:39 +00:00
Boyuan Yang
3d88c8b0d4 Update Chinese (China) translation 2023-09-21 14:33:48 +00:00
Fran Dieguez
f053409cad Update Galician translation
(cherry picked from commit d0668ffcde)
2023-09-21 10:22:33 +00:00
Anders Jonsson
767a2586ca Update Swedish translation
(cherry picked from commit 009b2fc1be)
2023-09-21 08:27:39 +00:00
Jordi Mas
4adb0a47fd Update Catalan translation 2023-09-19 20:18:39 +02:00
Baurzhan Muftakhidinov
7d7e79740c Update Kazakh translation 2023-09-19 16:30:22 +00:00
Yuri Chornoivan
09476a2bf8 Update Ukrainian translation 2023-09-19 16:25:11 +00:00
Boyuan Yang
b6c0d5da46 Update Chinese (China) translation 2023-09-19 14:51:23 +00:00
Emin Tufan Çetin
28f4d84ff3 Update Turkish translation 2023-09-19 14:42:08 +00:00
Nathan Follens
4545107ab2 Update Dutch translation 2023-09-19 12:34:34 +00:00
Nishal Kulkarni
ccf7c8a565 removable-media: UI changes
Make removable media UI conform with other panels.
Based off of initial mockups given in #1096
2023-09-19 11:13:41 +00:00
Nishal Kulkarni
20eda27bb9 applications: Move default app and removable media
Currently setting's panel list is over-populated. We can fix this by
moving some of the settings inside other panels as sub-panels.

Created a new row in applications panel for removable media and
default apps. On selecting the row we show the respective settings
which is same as before.

Removed default app and removable media from sidebar

Closes: #1092 #1096
Related to: #1090
2023-09-19 11:13:41 +00:00
Nishal Kulkarni
b592bd9d4e cc-removable-media-panel: Add convenience function
As a part of moving removable media panel under applications, we create
a function `cc_removable_media_panel_new` which return a GtkWidget
that can be added to GtkStack inside applications panel.
2023-09-19 11:13:41 +00:00
Nishal Kulkarni
f5c3797996 cc-applications-panel: Update to new layout
These changes make applications panel adhere to the new mockups.
Sidebar is removed instead applications can be searched directly in the
main panel.
2023-09-19 11:13:41 +00:00
Felipe Borges
bb835aac9e power: Make battery level percentage string translatable
This allows for local translation teams to change the presentation
format of the battery level percentage string accounting for local
guidelines and standards for displaying percentage values.

See https://en.wikipedia.org/wiki/Percent_sign#Correct_style for
more information.

Fixes #2637
2023-09-19 09:32:03 +00:00
Felipe Borges
5ec953b89c power: Use ISO-31-0 as default standard for showing batter charge percentage
This is the battery charge percentage. Showing number without a space
between the percent sign is the English style.

The ISO-31-0 standard prescribes a space between the number and the
percent sign.

See #2637
2023-09-19 09:32:03 +00:00
Ismael
694bb9844a universal-access: Add default values to zoom settings 2023-09-19 09:31:15 +00:00
Andika Triwidada
7f97822ee5 Update Indonesian translation 2023-09-19 06:42:29 +00:00
Yuri Chornoivan
1edd57b83d Update Ukrainian translation 2023-09-18 19:56:40 +00:00