Christopher Davis
3f851bd793
microphone: Use AdwActionRow
2022-02-12 11:51:21 +00:00
Christopher Davis
ab950bbfb5
microphone: Use AdwPreferences{Page,Group}
2022-02-12 11:51:21 +00:00
Christopher Davis
c2c9334a59
microphone: Use AdwStatusPage
2022-02-12 11:51:21 +00:00
Alexander Mikhaylenko
c932168462
background: Trigger screen transition when changing style
...
See https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2070
2022-02-11 22:12:49 +00:00
Mohammed Sadiq
15df3bc494
network: Fix QR code with dark theme
...
Explicitly set white background for the image so that white border
is shown around the QR code in dark themes too.
2022-02-11 17:24:52 +00:00
Marek Kasik
8fe87ac6ef
printers: Use bold font for title of details dialog
...
All other dialogs have bold titles, this should too.
Issue #1587
2022-02-11 13:18:15 +01:00
Marek Kasik
2a2d7ec111
printers: Make search entry symetric
...
Allow search entry of new printer dialog to expand so that it fills
the available area. It does not fill it now so there is more free
space on the right than on the left.
Issue #1587
2022-02-11 13:18:15 +01:00
Marek Kasik
cc75a07a69
printers: Fix blurred icons of printers
...
Change align of the printers icons to CENTER from FILL so that the icons
are not stretched.
Issue #1587
2022-02-11 13:18:15 +01:00
Christopher Davis
4f2aa07ff5
thunderbolt: Use AdwStatusPage for empty state
...
Make use of libadwaita's provided widget for status pages
instead of rolling our own.
2022-02-10 14:01:18 -08:00
Felipe Borges
37ee555c44
network: Show configuration button only for active/connecting connections
...
In commit c7bd442839
we started to
show the configuration button for all rows, which fixes the original
issue of not being able to tweak a connection during association but
also introduces a regression of not having connection data to show
for other connections in the list. This way, the configuration
button will fail to create a net_connection_editor interface for
rows that aren't associated with an active connection.
Let's only show the configuration button when the NMActiveConnectionState
is either NM_ACTIVE_CONNECTION_STATE_ACTIVATING or
NM_ACTIVE_CONNECTION_STATE_ACTIVATED.
Fixes #1494
2022-02-10 15:05:08 +00:00
Alexander Mikhaylenko
eca4c0a370
background-paintable: Clip light wallpapers as well
...
Turns out drawing the whole light wallpaper and then half of the dark
wallpaper on top of it is leading to a case of
https://gitlab.gnome.org/GNOME/gtk/-/issues/3840
Draw half of each instead, so they don't overlap.
2022-02-10 05:11:30 +05:00
Felipe Borges
26cc82c754
user-accounts: Always populate other users list
...
We were not re-populating the list when switching panels.
Related #1631
2022-02-09 15:04:32 +00:00
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