| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
on_ask_recurrence_response_save_cb()
...to do what the user asked for.
Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/871
|
|
|
|
|
|
|
| |
This way the content of the view is updated properly, otherwise only
internal GDateTime structure had been updated, but not the view itself.
Closes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/868
|
|
|
|
|
|
|
|
| |
Thus it's in sync with the rest of the date chooser.
Also use a common function to replace `self->date` value.
Related to https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/868
|
|
|
|
|
| |
When the `*dest` and `src` are the same, doing g_date_time_unref()
can free the instance before it's assigned back to the `*dest`.
|
|
|
|
|
|
| |
Otherwise the header will not reflect the active date.
https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/876
|
| |
|
|
|
|
|
| |
This fixes an issue that caused flickering as the window
approached a size where it could fold.
|
|
|
|
|
|
| |
Button sensitivity is automatically updated with action state.
By taking advantage of this we can use the `win.today` action
on multiple buttons without needing to update every button.
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the sake of smooth adaptivity, we need the toolbar buttons
to be constant in both modes instead of moving places from one
mode to another. Instead of duplicating these groups of
buttons, we can refactor them into an object for toolbars
and use them in multiple places.
This commit takes the widgets from the end of the header bar and
creates `GcalToolbarEnd`, which is used in the header bar and the
mobile action bar.
|
|
|
|
|
| |
Moves the action widgets (Today, New Event, Search) to an
action bar when the window shrinks.
|
|
|
|
| |
Allows the window to shrink to a smaller width via AdwLeaflet.
|
| |
|
| |
|
|
|
|
|
| |
So it's possible to zoom even if the device doesn't support pinching to
do so.
|
|
|
|
| |
This will help zooming with in other ways like Ctrl+Scroll.
|
|
|
|
|
|
| |
This uses the standard opacity for events of lower importance and
ensures the opacity difference is lower in HighContrast, helping
accessibility.
|
| |
|
|
|
|
| |
It was purposefully left broken in the previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reworks the style of the event widgets to make them match the
latest designs. This also supports the light and dark theme preferences
and fixes some spacing inconsistencies and errors.
- The orientation of events only affects how their content is laid out,
not their style.
- Events are fully colored accordingly to their calendar's color.
- Timed events have a semi-transparent background and a kind of opaque
knob on their left.
- Timed events have their text colored according to the theme.
- Lasting events are fully opaque, with no knob.
- Lasting events have their text colored according to their calendar's
color.
This purposefully leaves the indentation broken to help reviewing the
changes.
|
|
|
|
|
| |
This simplifies the code and will help support the dark and high
constrast variants.
|
|
|
|
|
| |
This will help the week view work well on small touchscreens and it also
works with touchpads.
|
| |
|
| |
|
| |
|
|
|
|
| |
This icon was left unused since we removed the year view.
|
|
|
|
| |
This gives it a label and an arrow to match the new design.
|
|
|
|
|
| |
It was purposefully left broken in the previous commits to help
reviewing the actual changes.
|
|
|
|
| |
This matches the new design.
|
|
|
|
|
| |
They aren't needed anymore as we have a date chooser, and they are
absent from the new design.
|
|
|
|
| |
This starts implementing the sidebar of the new design.
|
|
|
|
| |
This is needed to add a sidebar.
|
| |
|
|
|
|
|
| |
This gives some control on what time is displayed on the widget. It will
be used to show the time of the end of an event in the agenda view.
|
|
|
|
|
| |
This ensure the style is consistent and updates itself automatically as
the CSS classes change, and also makes the code simpler.
|
|
|
|
|
| |
This will be used to control more freely what timestamp is shown on
event widgets.
|
|
|
|
| |
It was left purposefully broken in the previous commit.
|
|
|
|
|
|
|
|
|
| |
This allows a multi choice's label to be clicked to reveal a popover. It
is needed by the date chooser, to have a combined month and year choice
that can be split in two via a popover.
This leaves the indendation purposefully broken to ease reviewing the
actual changes.
|
|
|
|
|
| |
This allows unifying the month and year selectors into a single month
and year selector by setting it to false.
|
|
|
|
|
| |
This also replace the date property by the overridden active-date one
ans adds the context property.
|
|
|
|
| |
This allows showing events from the timeline via a dot.
|
|
|
|
|
| |
This allows the date chooser to receive events from the timeline, and
will allow it to show them via a dot.
|
|
|
|
| |
If enabled, the selected week will be made visible.
|
|
|
|
| |
This makes the code easier to read and update.
|
|
|
|
| |
This will help making the non worked days let prominent.
|
|
|
|
| |
This will help making the current day pop out a bit.
|
| |
|
|
|
|
| |
This allows the days to display events.
|
|
|
|
| |
This ensures the size will be consistent for all days.
|
|
|
|
| |
This ensures the digits are well aligned.
|
|
|
|
| |
This makes the widget easier to maintain.
|