This will be consistent with the status page from the Settings
sidebar, which shows "No Results Found" when searching for panels
(if the search term doesn't return anything).
Also, use header capitalization, as advised by HIG.
- Use edit-find-symbolic
- Use "No Results Found" title
- Add "Try a different search" description
- Remove the margin-top because this causes the status
page to look misaligned
The first three changes will make the status page to look
more similar to the status page from the Settings sidebar
(when the search term doesn't return anything), improving
consistency.
Background xml files can contain multiple background definitions, each
with a name and (dark) filename. Each of them is individually added as a
CcBackgroundItem. Duplicates are checked based on an id, which is formed
by concatenating the xml filename and the background name.
However, the name of the background is not used at the moment, so could
be not unique, making the ids for multiple backgrounds in one xml also
not unique, resulting in missing backgrounds. This has not been an issue
much anymore, because gnome-backgrounds switched to separate xml files.
Nevertheless, improve this by also adding the actual image filename to
the hash id, as suggested in #1115.
Closes#1115
Related gnome-backgrounds#10
- Set the "show-arrow" and "title" properties directly in
"g_object_new"
- Remove "gtk_list_box_row_set_activatable" because
CcListRow is activatable by default
When the window is small, which makes the
"Hardware Information" and "Software Information"
sections to show vertically, the latter doesn't
properly separate from the first visually. Add a
top margin to fix that.
This allows for CcWifiConnectionList to be reused in different locations
where the placeholder might differ.
For example, the main wifi connections list vs. the saved network
connections (forget dialog).
See !2384, !2397, and !2418Fixes#2574
This also fixes the ".cutout-button" style being
set in "user-accounts-dialog.css", which is wrong
because this widget is located in the main panel
and not in the add user dialog.
Transforming power-profile-info-row into an
AdwActionRow helps to decrease the
power-profile-info-row.ui code considerably.
Also, make the info icon smaller and not dimmed,
like in the mockups[1].
[1] 1bb482ed19
Use a single CSS file for the entire panel.
This will make easier to set custom style
for specific widgets without having to create
a bunch of CSS files for each widget type.
- Use "select-mode-symbolic" in the "Clicking"
view switcher
- Ditch the border radius from the scroll test
image
- Make click-status-emblem indicator indicator
to show a more prominent green color when the
test passes
- Don't use @borders for the click-status-emblems
background color because this named color isn't
meant for backgrounds
- Make non-green click-status-emblems dimmed
Reference: 6d5e1813ca
The timedate1_call will fail because network time synchronization is enabled:
GDBus.Error:org.freedesktop.timedate1.AutomaticTimeSyncEnabled: Automatic time synchronization is enabled
Let's not set_time when NTP is not available, neither set time by
accident at the widget construction stage. When widgets signals are connected
in the UI file their respective callback was getting called. By moving
the signal connection to callbacks to the widget's _init method we
avoid the unwanted callback call.
Fixes#2945
Spaces are not supported in .desktop file keywords[0] as gnome-shell
splits the search term by spaces, and then prefix-matches each word separately
against the candidate keywords.
Inspired by commit 7bd8dd69cf
When copying the login command, a toast appear
saying "Command copied". However, these kind of toasts
usually says that the text was copied *to the clipboard*,
like the toast from System > About > System Details > Copy.
Spaces aren’t supported in .desktop file keywords, as gnome-shell splits
the search term by spaces, and then prefix-matches each word separately
against the candidate keywords.
So a search term of ‘parental’ would match the ‘Parental Controls’
keyword, but a search term of ‘parental controls’ would not, as
‘controls’ doesn’t prefix-match anything.
Avoid that by removing spaces from the keywords.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/48
As the user facing name of this setting changed to "Secure Shell",
let's change its internal name to match it.
This avoids confusion with the Remote Desktop "Remote Session" setting,
which is now named "Remote Login" in the UI and should get its code
renamed to follow that consistently.