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
sunflowerskater
c95dcf2a9a
general: Add placeholder text to various search entries
...
Acc. HIG, "text fields should have placeholder text or a label".
https://developer.gnome.org/hig/patterns/controls/text-fields.html
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2190
2023-04-21 12:40:42 +00:00
Automeris naranja
8f8b2a7ea8
keyboard-shortcut-dialog: Add ellipsis to the "Add Shortcut" button label
...
Acc. HIG, "use an ellipsis (…) at the end of a label
if further input or confirmation is required from the user".
https://developer.gnome.org/hig/guidelines/writing-style.html?highlight=ellipsis
2023-03-31 10:36:00 +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
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
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
Mohammed Sadiq
6ad36fe6db
keyboard: shortcut-dialog: Refactor
...
- Use GListModel for creation, filter and sorting of shortcut sections
- Use AdwStatusPage instead of handling empty states manually
Fixes #1212 #1735 #2105 #2159 #2160 #2169
2022-12-05 20:50:15 +00:00
Lukáš Tyrychtr
31d6c7704c
Add some missing a11y labels in the keyboard panel
2022-05-10 04:00:40 +00:00
Christopher Davis
981a8cea7b
panels: Use .boxed-list
instead of .content
...
The `.content` style class is deprecated in favor
of the `.boxed-list` style class, which is named
after the design pattern it's used for.
2021-12-16 12:52:44 -08:00
Georges Basile Stavracas Neto
d7e794e7ab
keyboard: Port to GTK4
...
Drop the wm-common insanity.
2021-12-14 22:34:21 -03:00
Rachit Keerti Das
fccfb52cad
keyboard: Improve Empty Search State.
...
The empty search state looks out-of place due to it being nested inside
a listbox. This is because we can only detect empty states through
gtk_list_filter_func().
Refine it by making the empty search placeholder a child of the main stack.
Introduce an additional helper function to detect when all the listbox
rows would be hidden by the filter.
As a part of https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1222
2021-02-12 15:41:10 +13:00
Ian Douglas Scott
fd661a6607
keyboard: Use "+" row at end of custom shortcuts, not another box
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
238327e0ae
keyboard: Move keyboard shortcuts configuration to a dialog window
2020-12-18 07:55:38 -08:00