Marcos Miller
4b9527b41e
datetime: use AdwSpinRow in dialog
...
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2660
2023-10-13 10:42:59 +00:00
Alice Mikhaylenko
4680f362f3
Port to AdwNavigationSplitView
2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
a7afbea0d3
datetime: Port to AdwToolbarView
2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
205a3b7d91
datetime: Port dialogs to AdwWindow
2023-08-25 08:00:43 +00:00
Automeris naranja
8a8973f860
datetime: Explain that Clock & Calendar settings affect the date & time info from Shell's top bar
...
The Clock & Calendar settings are a bit vague.
Add an explanation to inform that these settings will affect the
date & time information from Shell's top bar.
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2592
2023-08-07 10:28:17 +00:00
Robert Ancell
644df7697b
datetime: Do signal handlers in swapped form
2023-05-30 08:36:22 +00:00
Felipe Borges
2cf57ffb10
datetime: Merge "Clock" and "Calendar" sections
...
According to mockups at
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/date-and-time/date-and-time.png
2023-05-22 13:18:31 +00:00
Felipe Borges
79636a8eb9
datetime: Move "Time Format" row out of "Clock" section
...
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1277#note_1751622
2023-05-22 13:18:31 +00:00
Lains
7615bb5ccb
datetime: Add top bar clock and calendar switches
...
For changing the clock display (weekday, seconds, date) and week numbers on the calendar
These switches should change:
- Whether or not the clock display has the week day (e.g. Mon).
- Whether or not the clock display has the date (e.g. Jun 6).
- Whether or not the clock display has seconds (e.g. 12:30:45).
- Whether or not the clock's popup calendar should show the week's number.
Fixes #257
2023-05-22 13:18:31 +00:00
Chris Mayo
0d1ae3d4f4
datetime: Fix Time Format ComboRow
...
Failed to set property AdwEnumListModel.enum-type to GDesktopClockFormat: Unsupported GType 'GDesktopClockFormat' for value of type 'GType'
meson.build code adapted from background/meson.build.
2023-04-17 12:14:58 +00:00
Automeris naranja
fe5257bc9e
general: Remove a11y labels when they aren't needed
...
A11y labels aren't needed when using the "activatable-widget"
property, because the relation is set automatically:
https://gitlab.gnome.org/GNOME/libadwaita/-/blob/main/src/adw-action-row.c#L661
2023-04-12 18:34:20 -03:00
Robert Ancell
a3d99c78f6
datetime: Fix widget names and types
2023-03-29 11:04:24 +00:00
Mohammed Sadiq
5e41174475
datetime: Use the new timezone dialog
...
This commit also removes the deprecated GtkListStore usage
2022-12-04 21:38:34 +00:00
Mohammed Sadiq
1885b2c4f3
datetime: Display month in 2 columns
...
So that it fits better in smaller screens and the user
doesn't have to scroll to select some months.
This commit implements the updated design[0]
[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/time-date/time-date-adaptive.png
2022-12-01 01:21:24 +00:00
Lukáš Tyrychtr
46932dcffe
Fix indent
2022-05-30 22:24:47 +00:00
Lukáš Tyrychtr
fd7691c0b9
Add a missing label to the automatic timezone switch
2022-05-30 22:24:47 +00:00
Georges Basile Stavracas Neto
043d4fab74
datetime: Switch day row to AdwActionRow
...
Another small cleanup.
2022-01-26 23:47:36 -03:00
Georges Basile Stavracas Neto
b7876233e9
datetime: Switch year row to AdwActionRow
...
Another nice, small cleanup
2022-01-26 23:46:10 -03:00
Georges Basile Stavracas Neto
65c53a4c57
datetime: Switch Month row to AdwComboRow
...
It fits it much better, and allows for a great cleanup.
2022-01-26 23:43:43 -03:00
Pablo Correa Gómez
7c91fc1400
datetime: get month_label from GtkFlowBox widget
...
Using g_date_time_format to get the name of the month
translates the name according to LC_TIME. This is inconsistent
with all other labels displayed, which get translated according
to LC_MESSAGES. By taking the label from the corresponding
entry in the GtkFlowBox, we avoid the incosistency
Fixes #1507
2022-01-25 11:42:41 +00:00
Georges Basile Stavracas Neto
2e73952d28
datetime: Add go-next-symbolic to dialog rows
...
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1587
2022-01-21 16:13:21 +00:00
Georges Basile Stavracas Neto
4300a4a290
panels: Use new CcPanel helpers for title widgets
...
This should significantly simplify these panels, by not forcing
them to override GObject.constructed all the time. Most panels
were quite straightfoward.
2022-01-20 02:23:42 +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
24fbb5e49a
cc-datetime-panel: Use AdwComboRow
...
The API is nicer, and it's the recommended widget to use
for dropdown rows.
2022-01-06 11:47:10 -08:00
Christopher Davis
0a5515463d
cc-datetime-panel: Use AdwPreferencesGroup
...
Lets us get rid of our manual listboxes.
2022-01-06 11:42:08 -08:00
Christopher Davis
d3756aaf26
cc-datetime-panel: Move activation handling to rows
2022-01-06 11:42:08 -08:00
Christopher Davis
3b90e5b43f
cc-datetime-panel: Set activatable-widget
on rows with switches
2022-01-06 11:42:08 -08:00
Christopher Davis
52a32574fb
cc-datetime-panel: Remove keynav-failed handling
2022-01-06 11:42:08 -08: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
c6dd59f378
datetime: Port to GTK4
...
Of particular relevance, the timezone map was massively cleaned up.
It is much more pleasant to use now.
2021-12-14 22:34:21 -03:00
Mohammed Sadiq
ea821e5c3a
datetime: Use content style for listbox
2021-05-19 03:25:47 +00:00
Mohammed Sadiq
55ea4cabda
datetime: Implement the new time-date editor dialog design
2020-09-15 03:07:41 +00:00
Mohammed Sadiq
c2b0f8cb1d
datetime: Fix activating time and timezone rows
...
These rows seems not activatable by default and thus not able to edit those values
2020-08-10 13:06:30 +00:00
Adrien Plazas
0c71793e7c
Stop using the action HdyActionRow child type
...
It has been dropped and is now the default child type.
2020-07-20 08:04:28 +02: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
lionirdeadman
5b573b7e25
Seperate timezone and date controls as per recent design mockups.
2020-07-17 03:32:02 +00:00
Mohammed Sadiq
7683a09ff7
datetime: Use the new time editor
2020-06-15 04:55:39 +00:00
Adrien Plazas
3c65262a05
datetime: Use HdyActionRow
...
This better handles the available space and simplifies the code.
2019-01-29 10:28:28 +00:00
Adrien Plazas
fd0b45d6c3
datetime: Use a scrolled window and a column
...
This better allows to handle short windows and better handle the
available width.
2019-01-29 10:28:28 +00:00
Jeremy Bicha
021140d859
datetime: Use accessible-description instead of -name for Hour & Minute
...
In my testing, default orca didn't seem to read the "Hour" or "Minute"
words when we used accessible-name but it does work with
accessible-description.
This is the only place we used accessible-name in gnome-control-center
but we use accessible-description in a few other places.
2019-01-05 12:48:31 +00:00
Robert Ancell
3695c22ab5
datetime: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00