Christopher Davis
770da3788a
notifications: Remove redundant haligns
2022-02-09 14:33:17 +00:00
Christopher Davis
a8bc1a222e
notifications: Make dialog resizeable, adjust default size
...
We can't use flat headerbars here because we need to
be able to scroll the dialog at smaller sizes. We
also need for the dialog to be able to reach smaller
sizes.
2022-02-09 14:33:17 +00:00
Christopher Davis
17d3a297ae
notifications: Handle keynav-failed
on app list
...
Fixes keyboard navigation with arrow keys
2022-02-09 14:33:17 +00:00
Christopher Davis
2f00725af8
notifications: Remove options_listbox
...
Since CcListRow is now an AdwActionRow subclass,
we don't need to have a custom listbox for the top
group.
2022-02-09 14:33:17 +00:00
Alexander Mikhaylenko
24311b6ebd
background-chooser: Remove a leftover binding
...
GtkWidget:text-direction doesn't exist. That's why we connect to the
::direction-changed signal instead, and this property binding was
just a leftover from c5792cfb00
.
2022-02-09 14:23:29 +00:00
Christopher Davis
0e2531f500
search: Activate results row switch on click
2022-02-09 13:53:17 +00:00
Christopher Davis
e14847b73f
search: Search group fixups
...
* Set the right accessibility relations, as
AdwPreferencesGroup does not manage it
for custom listboxes
* Handle `keynav-failed` for proper behavior with arrow keys
* Set `selection-mode` to none
2022-02-09 13:53:17 +00:00
Christopher Davis
b4e74d58be
search: Use AdwActionRow for locations dialog rows
...
Gives us consistent styling without needing to set
margins, as well as simple row activation.
2022-02-09 13:53:17 +00:00
Christopher Davis
ddb979abfd
search: Use AdwPreferences{Window,Page,Group} for location dialog
...
Gives us more modern styling for the search locations
window.
2022-02-09 13:53:17 +00:00
Felipe Borges
0bf91ed4d6
user-accounts: Fix crash while cancelling user rename
...
Fixes #1632
2022-02-09 10:51:45 +01:00
Georges Basile Stavracas Neto
59e3c32825
users: Set the activatable-widget property of various rows
...
It makes it slightly more convenient to interact with them,
since they become activatable.
2022-02-08 11:10:37 -03:00
Georges Basile Stavracas Neto
55072f54db
users: Hide enterprise group in new users dialog
...
Otherwise we get a strange shadow at the bottom.
2022-02-08 11:05:51 -03:00
Georges Basile Stavracas Neto
998db79732
users: Cleanup and modernize CcLoginHistoryDialog
...
- Remove all 'can-focus' properties, rely on GTK defaults
- Use AdwPreferencesPage internally
- Make dialog resizable
- Set 'icon-name' in header buttons instead of a GtkImage
2022-02-08 10:53:55 -03:00
Felipe Borges
7f8e90a966
user-accounts: Port to gtk4/libadwaita implementing the new design
...
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/users/users.png
2022-02-08 13:29:56 +00:00
Alexander Mikhaylenko
ca5bdd07de
background: Refine background chooser layout
...
Make thumbnails smaller, add margin on the sides.
2022-02-07 10:50:10 +00:00
Alexander Mikhaylenko
c5792cfb00
background: Support dark wallpapers
2022-02-07 10:50:10 +00:00
Alexander Mikhaylenko
303cc2176e
background-preview: Add a missing break
2022-02-07 10:50:10 +00:00
Alexander Mikhaylenko
1e2069e748
background: Don't expand the background list
...
It looks weird when there are few wallpapers.
2022-02-07 10:50:10 +00:00
Georges Basile Stavracas Neto
85199430cb
region: Fix format chooser leaflet page
...
We need to go back to region_box, not region_list.
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
c591ab3f77
common: Slightly increase default width of CcLanguageChooser
...
So it doesn't cut the title label in Portuguese.
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
eaa62700f6
region: Various small improvements to CcFormatChooser
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
6f2875e467
region: Replace "Login Screen" toggle button by section
...
Rework the panel to have 2 groups: the user's language and
format; and the login screen's language and format. Remove
the now unused bottom label explainig the login screen.
Special-casing of single user systems is still present.
Related: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1587
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
53b31dd753
region: Merge language and formats into a single group
...
As per mockups. We'll be adding another pair for the login
screen soon.
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
6ed208221f
region: Switch formats row to AdwActionRow
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
ae93012543
region: Switch language row to AdwActionRow
2022-02-07 07:03:42 -03:00
Georges Basile Stavracas Neto
01e7544827
region: Move logout message to an infobar
...
As per mockups. Also adjust the wording of the info bar label.
2022-02-07 07:03:37 -03:00
Georges Basile Stavracas Neto
72742f9580
region: Switch to AdwPreferencesPage and AdwPreferencesGroup
...
This cleans up all the manual label shenanigans we've been
doing.
2022-02-07 07:01:30 -03:00
Mohammed Sadiq
703725e93f
wwan: apn-dialog: Ellipsize apn row
...
ellipsize the apn row so that the window won't grow too long.
2022-02-05 04:15:16 +00:00
Mohammed Sadiq
7da8101446
wwan: apn-dialog: Use AdwPreferencesPage
...
This fixes the listbox content being cut of with the scrolled window.
2022-02-05 04:15:16 +00:00
Christopher Davis
fc8817380d
network: Center connection-editor spinner
...
Prevents the spinner from taking up a large amount
of space.
2022-02-05 00:11:21 +00:00
Sam Hewitt
65b109763b
Cleanup private use symbolics
...
- remove references to deprecated app symbolics
- reduce file size of private-use icons
- update dated icons
2022-02-04 18:12:41 +00:00
Felipe Borges
9c593c5d7b
sound: Remove CcSoundButton in favor of a simple GtkToggleButton
...
Without the custom image allocation, we can simply use a simple
button instead.
Fixes #1583
2022-02-04 18:03:38 +00:00
Jakub Steiner
d85111f3f1
sound: remove noisy icon
...
- remove the oversized repeating icon, use only labels
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1583
2022-02-04 18:03:38 +00:00
Christopher Davis
41cc608721
network: Use AdwPreferences{Page,Group} for network panel
...
Uses AdwPreferences{Page,Group} where possible.
net-device-ethernet has been changed into an
AdwPreferencesGroup subclass itself.
2022-02-04 17:54:25 +00:00
Christopher Davis
e7f89a49d5
network: Clean up ethernet details row
...
* Remove placeholder text
* Remove redundant haligns
* Remove redundant `selectable=False`
* Set activatable widget
2022-02-04 17:54:25 +00:00
Christopher Davis
fcc1cb9da7
network: Adjust list styling and use GtkStack for ethernet
...
Previously we used an unstyled list for the network
connections, and we switched lists by using
GtkWidget:visbile.
This commit makes the connection list use boxed-list
styling, and adds a GtkStack.
2022-02-04 17:54:25 +00:00
Christopher Davis
ffeec81f0e
network: Use AdwActionRow for NetDeviceBluetooth
...
Similar to the last commit, we can use a regular
GtkListBox and make the device widget an AdwActionRow.
2022-02-04 17:54:25 +00:00
Christopher Davis
de16d7bb39
network: Use AdwActionRow and GtkListBox for vpn list
...
Previously the widget was using a hack to show
separators and had a row nested in a listbox,
nested in a box. Instead of having a custom setup
to work around not haveing a listbox, we can use a
listbox.
See: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1587
2022-02-04 17:54:25 +00:00
Felipe Borges
e03000bd73
universal-access: Add "animations" to desktop file keywords
...
In commit a825ded085
we added the option
to enable/disable animations in the desktop as an accessibility feature.
Adding the keyword makes it possible to find the Accessibility
settings while searching for "animations" in the shell or in
gnome-control-center.
Fixes #1620
2022-02-04 17:23:56 +00:00
Marek Kasik
20adb5632f
printers: Remove redundant UI properties
...
Remove redundant UI properties from PPDSelectionDialog's UI file.
2022-02-04 17:50:04 +01:00
Marek Kasik
613a2d8b5b
printers: Fix UI file of PPDSelectionDialog
...
A regression from the GTK4 port.
2022-02-04 17:15:53 +01:00
Marek Kasik
52fdf0435e
printers: Expand PpPrinterEntry when window resizes
...
A regression from the GTK4 port.
2022-02-04 17:15:53 +01:00
Marek Kasik
e7a1501d13
printers: Do not ellipsize title of details dialog
...
A regression from the GTK4 port.
2022-02-04 17:15:53 +01:00
Marek Kasik
634d622c7a
printers: Show file chooser dialog when selecting PPD
...
A regression from the GTK4 port.
2022-02-04 17:15:53 +01:00
Philip Withnall
d46601d590
user-accounts: Make malcontent-control optional
...
Hide the button to open the parental controls UI if it’s not installed.
This will allow distributions to split the dependency, making
gnome-control-center suggest (rather than require) malcontent-ui, while
still requiring libmalcontent.
In turn, this will allow malcontent-ui to be uninstalled without
requiring gnome-control-center to be uninstalled, which will satisfy
users who feel the need to uninstall it because it’s not useful to them.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-03 14:18:25 +00:00
Mohammed Sadiq
5855b661fe
wifi: Fix to use the updated details to create hotspot
...
Let the callback to "response" signal run after the default
so that we use the updated details to create hotspot.
Otherwise, the changes made won't be used.
This is required as the default handler updates the connection
details in cc-wifi-hotspot-dialog.
2022-02-01 17:29:54 +00:00
Felipe Borges
1cca8708c7
thunderbolt: Use AdwPreferencesGroup for devices list
...
Related: #1587
2022-02-01 16:16:39 +00:00
Felipe Borges
12b940d411
thunderbolt: Wrap "Direct access" UI into a AdwActionRow
...
This allows for simplifying the logic of the states of this row
too.
2022-02-01 16:16:39 +00:00
Felipe Borges
f3122f10b1
thunderbolt: Port CcBoltDeviceEntry to AdwActionRow
2022-02-01 16:16:39 +00:00
Christopher Davis
3250b3fab5
applications: Use AdwPreferences{Page,Group} for Built-in Permissions dialog, make it resizable
2022-02-01 14:56:14 +00:00