Commit graph

16 commits

Author SHA1 Message Date
Automeris naranja
d30ebf9945 color: Rename "colors_page" to "color_page"
The AdwPreferencesPage id is "colors_page",
but the plural isn't correct.

Follow-up from 8e44e69e37
2024-04-03 19:10:59 -03:00
Automeris naranja
8e44e69e37 color: Modernize the panel a bit
- Use AdwPreferencesPage/AdwPreferencesGroup
- Use AdwStatusPage when there are no devices
that can be color managed
2024-04-03 21:58:21 +00:00
Automeris naranja
cb8819657b general: Rename "computer" strings to "device"
"Computer" isn't a suitable term for other device
form factors. Also, there are several strings in
Settings that already use "device", and cc-color-panel.ui
uses a mix of "computer" and "device" strings, which is
weird.
2024-03-11 15:19:55 +00:00
Philip Withnall
2d6469ce6b color: Correctly capitalise button labels
As per the HIG, button labels should be in title case.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-03-11 15:02:34 +00:00
Alice Mikhaylenko
1967c1d731 color: Make it fit on narrow widths
- Ellipsize buttons
- Remove unnecessary margins
- Stop making buttons homogeneous
2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
4680f362f3 Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
49b1c59c34 color: Port to AdwToolbarView 2023-08-25 08:00:43 +00:00
Felipe Borges
6179d585a6 color: Make it easier to translate panel description string
This helps translators understand what are the placeholders in
the visible string.

+#. Translators: This will be presented as the text of a link to the documentation
+#. translators: Text used in link to privacy policy
+#: panels/color/cc-color-panel.c:2021
+#: panels/diagnostics/cc-diagnostics-panel.c:137
+msgid "Learn more"

+#. Translators: %s is a link to the documentation with the label "Learn more"
+#: panels/color/cc-color-panel.c:2023
+msgid "Each device needs an up to date color profile to be color managed. %s"
2023-05-04 10:06:26 +00:00
sunflowerskater
2d310918fa color: Dim information text & fix "Learn more" link alignment 2023-05-04 10:06:26 +00:00
Georges Basile Stavracas Neto
0ab20af9ba panels: Switch to CcPanel content
Start porting panels to the new panel format. This commit
temporarily makes panels have two titlebar, which will be
fixed soon.
2022-01-20 02:23:42 +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
d00cc3929e [WIP] color: Port to GTK4
This is very rough still. The calibration code
is entirely untested.
2021-12-14 22:34:21 -03:00
Bastien Nocera
a9c398e5d9 color: Remove profile upload feature
As it was already removed in colord itself:
98f83acc91 (diff-cb19db05cc548372b27ebee7d47bc00b6788ad05da6f5d7fff107c45bbfba38f)

This removes the only direct libsoup 2.x dependency in
gnome-control-center.
2021-11-18 16:39:44 +01:00
Adrien Plazas
f06379e30c Replace HdyColumn by HdyClamp
In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values
when they match HdyClamp's defaults.
2020-07-20 08:04:28 +02:00
Adrien Plazas
eaeb64d85e color: Use a HdyColumn
This helps the panel to fit in narrower windows.
2019-01-29 10:35:18 +00:00
Robert Ancell
3695c22ab5 datetime: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Renamed from panels/color/color.ui (Browse further)