Commit graph

22464 commits

Author SHA1 Message Date
Nelson Benítez León
e95669d94d shell: avoid activating panel from an empty search
Avoid activating a panel when doing an empty search
i.e. clicking ENTER without having entered
any text in the search entry.

We should do nothing in this case, we fixed it by
detecting for this case when an activation happens
when there's still no search results view in place.

Closes #2119
2023-05-23 14:29:49 +01:00
Felipe Borges
2cf57ffb10 datetime: Merge "Clock" and "Calendar" sections
According to mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/date-and-time/date-and-time.png
2023-05-22 13:18:31 +00:00
Felipe Borges
79636a8eb9 datetime: Move "Time Format" row out of "Clock" section
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1277#note_1751622
2023-05-22 13:18:31 +00:00
Lains
7615bb5ccb datetime: Add top bar clock and calendar switches
For changing the clock display (weekday, seconds, date) and week numbers on the calendar

These switches should change:
- Whether or not the clock display has the week day (e.g. Mon).
- Whether or not the clock display has the date (e.g. Jun 6).
- Whether or not the clock display has seconds (e.g. 12:30:45).
- Whether or not the clock's popup calendar should show the week's number.

Fixes #257
2023-05-22 13:18:31 +00:00
Davide Ferracin
9683d76c7e Update Italian translation 2023-05-22 12:56:42 +00:00
Yosef Or Boczko
60669db881 Update Hebrew translation 2023-05-21 04:55:55 +00:00
Mpho Jele
483a5f3e8d user-accounts: Use AdwEntryRow for user full name 2023-05-17 11:14:29 +02:00
Markus Göllnitz
98c47cee10 mouse: ensure type CcListRowInfoButton is available to GtkBuilder
The newly introduced CcListRowInfoButton is not available
to GtkBuilder and henceforth building the mouse panel
currently fails.

Therefore, it CcListRowInfoButton has to be declared to
be a type that needs to be available to this panel.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2023-05-16 20:49:28 +02:00
Felipe Borges
eaaafb034b po: Add cc-list-row-info-button.ui to POTFILES.in
There's a translatable accessibility string in this file.
2023-05-16 13:32:21 +00:00
Felipe Borges
b2d5e78934 mouse: Use CcListRowInfoButton for mouse_aceleration row 2023-05-16 13:32:21 +00:00
Felipe Borges
45931c783f user-accounts: Make Administrator row use info button widget
Instead of recreating the menu button and popover.
2023-05-16 13:32:21 +00:00
Felipe Borges
d586df5c87 user-accounts: Add a popover describing the autologin functionality
Fixes #2235
2023-05-16 13:32:21 +00:00
Felipe Borges
00a71d46da common: Introduce CcListRowInfoButton widget
This simplifies the display of additional text information for our
rows.

See #1571
2023-05-16 13:32:21 +00:00
Nelson Benítez León
02302c9b08 CcPanelList: center sidebar row when activating a panel
When activating a panel from Search or from commandline
let's scroll the sidebar so the row for that panel is
revealed and vertically centered on the list.

Closes #2098
2023-05-16 08:24:52 +00:00
Jordi Mas i Hernandez
1a2bf2f31d Update Catalan translation 2023-05-16 05:05:29 +00:00
Mario Limonciello
aa46ae53a1 firmware-security: Skip security attributes that have been obsoleted by others
Fixes: #2481
2023-05-15 18:11:56 +00:00
Yosef Or Boczko
c633429d6a Update Hebrew translation 2023-05-15 13:25:59 +00:00
Felipe Borges
073cf028a2 sharing: Add subtitle to each panel row
Fixes #2407
2023-05-15 13:37:17 +02:00
Felipe Borges
36938d53d6 sharing: Add icons next to each row
See #2407
2023-05-15 13:37:17 +02:00
Emad Saadat
813a5f838c wi-fi: Remove extraneous list box in Airplane Mode group
and give parent AdwPreferencesGroup the id of rfkill_widget
to preserve previous behavior (hiding widget when no
airplane mode available).
2023-05-15 10:50:09 +00:00
Emad Saadat
216a7619b7 wi-fi: Have page contents clamped like other pages
Achieved by making the container widget for all other widgets
in the content section of the panel an AdwPreferencesPage and
having each group of widgets (e.g. the airplane mode toggle
and the stack that shows the list of wi-fi networks or a status
message) be in its own AdwPreferencesGroup.

Much along the lines of !1739 and !1740

Also fixes #2420
2023-05-15 10:50:09 +00:00
Sabri Ünal
2a4150171b Update Turkish translation 2023-05-11 19:17:38 +00:00
Nelson Benítez León
754536cc97 CcPanelList: don't activate first row panel unnecesarily
Don't activate first row panel (i.e. 'Wifi') when:
 - Canceling search view (pressing ESC or deleting all query text).
 - Activating a search result from search view.

Closes #2472
2023-05-11 14:45:10 +00:00
sunflowerskater
1300d4b2d7 add-user-dialog: Add popover explaining about the "Administrator" option
This change adds a GtkPopover to explain about the "Administrator" option like in the mockups below:
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/users/add-user.png
2023-05-10 09:37:04 +00:00
sunflowerskater
1ba63a360c user-panel: Add popover explaining about the "Administrator" option
This change adds a GtkPopover to explain about the "Administrator" option like in the mockups below:
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/users/users.png
2023-05-10 09:37:04 +00:00
Balázs Úr
754283c2c2 firmware-security: Mark button label as translatable 2023-05-10 05:33:38 +00:00
Danial Behzadi
f2b7587cc7 Update Persian translation 2023-05-08 07:21:16 +00:00
Robert Ancell
cf44a8d84e Update maintainers to indicate I am not specifically focussed on Region & Language 2023-05-06 10:08:20 +02:00
Robert Ancell
1fd23bb132 Remove Debarshi from the maintainers list, as discussed via email.
Thanks for all your work over the years Rishi!
2023-05-06 10:06:18 +02:00
velsinki
efc595cccd sharing: Fix visual bug for active indicators
The switch for the current network was only updated to TRUE after a
network change. However, if a new network was not enabled, the switch
should be set to FALSE. This is now properly handled.

Furthermore, the Off/Enabled/Active indicator was also inconsistent
after network changes due to the is_visible check failing sometimes,
even after changing to an already enabled network. Because the actual
current network state is now better tracked, we can just check the state
of the switch instead.
2023-05-05 09:35:01 +00:00
Ondrej Kolin
a0ee96c8ff Set last-panel only for noncrashing panels 2023-05-05 09:32:55 +00:00
Bogi Napoleon Wennerström
fd27a3c07b Add Faroese translation
(cherry picked from commit 53956cffd8)
2023-05-04 18:19:22 +00:00
Robert Ancell
ce74553417 Fix typo in email address 2023-05-04 12:08:47 +02:00
Robert Ancell
a53bd0845f Update my Email address to match the one I use in commits 2023-05-04 12:07:25 +02:00
Felipe Borges
6179d585a6 color: Make it easier to translate panel description string
This helps translators understand what are the placeholders in
the visible string.

+#. Translators: This will be presented as the text of a link to the documentation
+#. translators: Text used in link to privacy policy
+#: panels/color/cc-color-panel.c:2021
+#: panels/diagnostics/cc-diagnostics-panel.c:137
+msgid "Learn more"

+#. Translators: %s is a link to the documentation with the label "Learn more"
+#: panels/color/cc-color-panel.c:2023
+msgid "Each device needs an up to date color profile to be color managed. %s"
2023-05-04 10:06:26 +00:00
sunflowerskater
2d310918fa color: Dim information text & fix "Learn more" link alignment 2023-05-04 10:06:26 +00:00
Automeris naranja
8dd0abeaa4 network: Rename "Other Devices" to "Bluetooth"
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2102
2023-05-04 09:54:49 +00:00
Automeris naranja
13e4e0c242 general: Set a minimum size for various dialogs
This change prevents some dialogs from being shrunk
to a really small size by setting a minimum size for them.
2023-05-04 09:54:07 +00:00
Felipe Borges
c3110d2187 doap: Mark myself as a "General" maintainer 2023-05-04 11:33:07 +02:00
Marek Kasik
bf7ec41c78 Fix my email address 2023-05-04 11:26:23 +02:00
Automeris naranja
fe36282b26 network: AdwStatusPage consistency tweaks
Both Wi-Fi and Network panels shows a status page when Network Manager isn't running.
However, they don't use the same writing style:

- https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/gnome-44/panels/network/cc-wifi-panel.ui#L221
- https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/gnome-44/panels/network/cc-network-panel.c#L672

This change makes both status pages to use the same writing style.
2023-05-03 11:25:24 +00:00
Nelson Benítez León
6fb6ba1dc9 meson: improve comment and fix deprecated functions
- Clarify that 'mm-glib' dep is for ModemManager (not Network
   Manager which is below). The comment also helps people
   which may confuse it with glibmm library.

 - Fix following Meson warning about two deprecated functions:
   WARNING: Deprecated features used:
   * 0.56.0: {'dependency.get_pkgconfig_variable', 'meson.source_root'}
2023-05-02 11:33:31 +00:00
Ray Strode
b1850b5c8a background: Clear out dconf if user picks defaults
If a user chooses the default background in control-center, then
they still end up with a change in dconf. This change means that
on upgrades, they'll keep the old distro background configured.

That's probably unexpected and may lead them to believe the upgrade
didn't work.

This commit checks if the user goes back to the distro defaults and
clears out dconf in that case, so that when the disto defaults change
they get the new defaults.
2023-05-02 11:32:49 +00:00
Sabri Ünal
96b3725a40 Update Turkish translation 2023-05-01 10:29:50 +00:00
Fabio Tomat
abd7a08aa9 Update Friulian translation 2023-04-29 08:26:05 +00:00
Fabio Tomat
a97c769042 Update Friulian translation 2023-04-28 07:30:06 +00:00
Balázs Úr
5a3c7bda48 Update Hungarian translation 2023-04-26 21:23:04 +00:00
Felipe Borges
15145bd20e universal-access: Make Hearing page string translatable
Fixes #2457
2023-04-25 07:00:06 +00:00
Danial Behzadi
1e79b28b07 Update Persian translation 2023-04-25 00:32:07 +00:00
Aurimas Černius
419f5b19e9 Update Lithuanian translation
(cherry picked from commit 03681eb164)
2023-04-23 19:11:13 +00:00