Monster
d2abde0349
keyboard: Remove periods in descriptions
2024-02-05 10:57:11 +00:00
Bharat
19e75e0fb0
Keyboard: Add title to AdwNavigationPage
...
Add blank title to AdwNavigationPage
in the cc-keyboard-shortcut-dialog.ui
Fixes #2850
2024-01-22 14:10:12 +00:00
Automeris naranja
5cf922a24e
keyboard-shortcut-dialog: Add mnemonic to the "Reset All" button
...
Also, organize the properties (from the "Reset All" button)
together in the .ui file instead of mixing them with the signal name.
2023-12-14 16:46:34 -03:00
Automeris naranja
a0d7c2b13f
keyboard-shortcut-dialog: Make search entry smaller
...
The search entry is way too big, even more than
all shortcut category rows; this makes the UI
to look unbalanced. Make the search entry smaller
to fix that.
2023-11-27 09:54:02 +00:00
Automeris naranja
5611dd2fc5
keyboard-shortcut-dialog: Tweak Reset button
...
Move the Reset button to the bottom add
.pill and .destructive-style classes to it. Also,
remove its tooltip.
Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2669
2023-11-27 09:54:02 +00:00
Maximiliano Sandoval R
526217badb
keyboard-shortcut-dialog: Allow escape to close
...
At the moment the search entry is consuming the Escape key press, so we
have to manually tell it what to do with it.
We clear the search on the first press, if there is input, and close the
window otherwise.
2023-10-20 10:55:01 +00:00
Christopher Davis
2a94420350
keyboard-shortcut-dialog: Port to AdwNavigationView
...
AdwNavigationView is a new widget meant to be used specifically
for navigation, unlike AdwLeaflet which was multipurpose.
AdwNavigationView provides a cleaner API, and when used in
conjuction with the new AdwToolbarView widget we get automatic
titles, back buttons, gestures, actions, and window controls.
In addition, AdwToolbarView provides a new style with flat headers
and an undershoot.
This commit ports the keyboard shortcut dialog to use both of
these new widgets, allowing us to simplify our navigation.
2023-08-25 08:00:43 +00:00
Felipe Borges
0c9498d1f8
Mark some strings as translatable
...
These are strings that are presented in the UI that were not marked
for translation.
Fixes #2596
2023-08-11 12:07:00 +02:00
Automeris naranja
4151c06012
keyboard-shortcut-dialog: Add mnemonic to the "Add Shortcut" button
2023-06-27 16:23:42 -03:00
sunflowerskater
266c55715a
general: Add tooltips to headerbar controls
...
Acc. HIG, "controls in the header bars of primary windows should all have tooltips".
https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-06-06 13:27:00 +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
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