Commit graph

22141 commits

Author SHA1 Message Date
Alessandro Bono
9af0a2d15e bluetooth: Decouple active and state properties usage
The ability to tweak the state property was mainly introduced in
order to implement delayed state change via the state-set signal.
Since GTK 4.9.3[1] the active and state properties are no more
interchangeable.

[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5442
2023-03-03 18:16:57 +00:00
Alessandro Bono
f275c3a53c bluetooth: Properly fetch changing state
Since commit 75c3e11708 user_data does not
contain the state anymore. Assume that the active value is what the state
is going to be.
2023-03-03 18:16:57 +00:00
Alessandro Bono
b236b72fb2 bluetooth: Return TRUE for state-set callback
From the documentation[1]: "The signal handler should return TRUE to
prevent the default handler from running."

[1] https://docs.gtk.org/gtk4/signal.Switch.state-set.html
2023-03-03 18:16:57 +00:00
Jordi Mas
61bc68b473 Update Catalan translation 2023-03-03 16:38:50 +01:00
Mohammed Sadiq
2fb74f2a40 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.

Closes #2261
Closes #2292
2023-03-03 10:38:31 -03:00
Jonas Ådahl
b612179cdb panels/remote-desktop: Popuplate address label
This means the address will displayed as intended, and clicking the copy
icon will copy it again.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2173136
2023-03-03 13:57:09 +01:00
Philipp Kiemle
94c949a0f3 Update German translation 2023-03-03 07:28:59 +00:00
Ekaterine Papava
af4ffedf43 Update Georgian translation 2023-03-02 21:51:08 +00:00
Yuri Chornoivan
9cb4bad3a2 Update Ukrainian translation 2023-03-02 20:17:00 +00:00
Automeris naranja
ce212d9d06 firmware-security-dialog: Increase the dialog height
This change increases the dialog height to avoid
showing an unnecessary scrollbar.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2369
2023-03-02 15:53:07 +00:00
Felipe Borges
0e7ad06da3 mouse: Rename "Pointer Assistance" to "Mouse Acceleration"
This is the popular term  for this feature and we would be confusing
users by inserting new terminology.
2023-03-02 15:51:22 +00:00
Daniel
ee3c25cccb Updated Spanish translation 2023-03-02 13:16:27 +01:00
Sabri Ünal
c440955b3a Update Turkish translation 2023-03-01 21:37:14 +00:00
Jiri Grönroos
cde02e5f7a Update Finnish translation 2023-03-01 20:51:18 +00:00
Vasil Pupkin
0ab5e78002 Update Belarusian translation 2023-03-01 19:57:37 +00:00
Mohammed Sadiq
e155979dc2 keyboard: shortcut-dialog: Set custom title for subview
So that we can have different titles for main view and subview,
and so the title won't be broken when swiping back from subview.
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
287ab748a1 keyboard: shortcut-dialog: Pack content in a single leaflet
Don't pack headerbar and content separately, keep them together.
So that navigating back shall work right.
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
f86fc38ef4 keyboard: shortcut-dialog: Remove separator between headerbar and search
Since we now uses GtkSearchBar, we no longer requires a separator in
between as GtkSearchBar has one already.
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
d978d51c96 keyboard: shortcut-dialog: Don't update search results in sub-view
Since the main view is not visible, there is no point in updating
search results when we are in a sub-view.  This will happen as we
always listen to keyboard events for the whole window - regardless
of whether the search entry has focus or not.
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
73c76a7e85 keyboard: shortcut-dialog: Pack search inside a SearchBar
So that they are shown distinct from the rest of the content and
have proper margins

Fixes #2202
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
587a1b05ae keyboard: shortcut-dialog: Add margins around search entry
So that they won't get too close to the window borders.  Also adjust
width-chars so that the window width can reach smaller sizes
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
76707bb701 keyboard: shortcut-dialog: Align status pages to the center of the page
Fixes #2202
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
40cf37590f keyboard: shortcut-dialog: Remove sub-view search code
We have had removed support for searching in sub-sections.
Remove related code which is no longer used
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
80ff36d18c keyboard: shortcut-dialog: Don't update search visibility in custom shortcuts
Now we never show search entry in subpages, so don't hide search entry
when switching to subviews.  Otherwise, the search entry will be hidden
when the user switches back to the main view.
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
c0be13c7d6 keyboard: shortcut-dialog: Fix search on swipe navigations
We were updating the state when the back button is pressed, not when
the pages were changed, and so the dialog state was broken if the
user went back by swipe (or means other than clicking the back button).

Fix it by handling updating state when the visible view changes.
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
6a84e1eb83 keyboard: shortcut-dialog: Use AdwLeaflet for headerbar
So that users can swipe on headerbar to go back

Fixes #2202
2023-03-01 16:12:19 +00:00
Mohammed Sadiq
db82543a62 keyboard: shortcut-dialog: Focus search entry when the window is presented 2023-03-01 16:12:19 +00:00
Markus Göllnitz
0754e1ef13 mouse: add title to header bar
The header bar of the mouse panel can display a title, when
the stack only contains the mouse and the touchscreen subpanel.

This header bar, however, does not inherit the title widget from
the common CcPanel, as it contains the view switcher.

It is needed to add the correct title as a property to the switcher
to let it display this title, if no switcher is.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2023-03-01 14:34:09 +00:00
Markus Göllnitz
8b4fbef678 mouse panel: add navigate back button
The mouse panel currently does not show a button to navigate back,
but should do so if the window is folded.

fixes #2363

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2023-03-01 13:58:19 +00:00
Vasil Pupkin
8f6ee22d70 Update Belarusian translation 2023-03-01 10:42:15 +00:00
Quentin PAGÈS
76f870bc3f Update Occitan translation 2023-02-28 21:15:53 +00:00
Felipe Borges
4e10ccb9ea mouse: Toggle visibility of Touchpad page based on device detection
Fixes #2355
2023-02-28 14:17:37 +00:00
Felipe Borges
5b4c9e16a8 mouse: Don't set arbitrary dimensions for mouse test window
As long as the picture's scrolled window can be larger than 440,
everything else should fit within the window's default size.

Fixes #2356
2023-02-28 14:16:49 +00:00
Matej Urbančič
0d00d7da89 Update Slovenian translation 2023-02-27 21:57:10 +00:00
Bastien Nocera
2417cd5e6e wifi: Handle open networks in QR code
Fix empty dialogue when the current Wi-Fi network is an open network.

Closes: #2372
2023-02-27 20:00:15 +00:00
Michael Catanzaro
c36e6375da build-aux: switch flatpak manifest to librest-1.0
librest-0.7 uses libsoup 2 and fails to build since it was removed from
the runtime. Even if it did build successfully, gnome-control-center
would crash at runtime because it links to libsoup 3 dependencies like
gnome-online-accounts. The solution is simple: use librest-1.0 instead.

Note that nobody is using this flatpak manifest. gnome-online-accounts
switched to libsoup 3 last release cycle. There is no way for this
manifest to have worked since that time because it builds the master
branch of gnome-online-accounts.

Fixes #2324
2023-02-27 18:00:06 +00:00
Alan Mortensen
29095b54f8 Update Danish translation 2023-02-26 14:48:43 +00:00
Asier Sarasua Garmendia
d9ea94f4f1 Update Basque translation 2023-02-26 08:15:40 +00:00
Asier Sarasua Garmendia
d6c69f8cae Update Basque translation 2023-02-26 07:19:33 +00:00
Hugo Carvalho
74b1a468af Update Portuguese translation 2023-02-25 20:53:27 +00:00
Hemish
7e5cb13f0a Update Hindi translation 2023-02-25 17:18:31 +00:00
Hendrik Müller
0a5f0d16e3 wifi: Allow QR code dialog to be closed by pressing ESC
Being able to close the QR code dialog by pressing the ESC
key would be a handy feature.

By switching from GtkWindow to GtkDialog, the QR code
dialog is closed when pressing ESC.

Closes #2357
2023-02-25 13:00:15 +00:00
Alexandre Franke
c24781fa0d Update French translation 2023-02-24 13:29:35 +00:00
Sabri Ünal
1a633c65ec Update Turkish translation 2023-02-22 11:58:02 +00:00
Jürgen Benvenuti
7b4b77cbc3 Update German translation 2023-02-21 18:44:00 +00:00
Lukáš Tyrychtr
1bfa4be664 info-overview: Actually don't show the firmware version row when in a VM
The previous logic was hiding the row when we were not under virtualization.
Fixes #2351
2023-02-21 10:04:27 +00:00
Nelson Benítez León
0cb4706b88 user-accounts: restore default cursor in CcCropArea dialog
The CcCropArea dialog fails to update cursor to 'default'
one when leaving the CcCropArea into the GtkHeaderBar.

Fix that by setting 'default' cursor in the "leave" event
of CcCropArea.

Closes #2359
2023-02-20 10:56:38 +00:00
Nelson Benítez León
d57e152f57 user-accounts: close CcAvatarChooser before showing GtkFileChooser
so that the first click on the FileChooser is not used to just
close the CcAvatarChooser dialog.

Close issue #2315
2023-02-20 09:04:19 +00:00
Nelson Benítez León
3fcf9aa7f1 user-accounts: disallow commas in real name
Because real name is stored in the GECOS field of
/etc/passwd, which is delimited by commas that
cannot be escaped, the user's full name must not
contain a comma. More info at:
https://gitlab.freedesktop.org/accountsservice/accountsservice/issues/83

Closes #888
2023-02-20 08:55:10 +00:00
Fran Dieguez
a9fbfdcf6f Update Galician translation 2023-02-19 23:31:51 +00:00