[gnome-calendar] date-chooser: Update combined-choice on date changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] date-chooser: Update combined-choice on date changes
- Date: Wed, 5 Oct 2022 15:08:27 +0000 (UTC)
commit 80d803d1251e69f0f5ad0aa35550e182a4e487e7
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Oct 5 15:30:02 2022 +0200
date-chooser: Update combined-choice on date changes
Otherwise the header will not reflect the active date.
https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/876
src/gui/event-editor/gcal-date-chooser.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gui/event-editor/gcal-date-chooser.c b/src/gui/event-editor/gcal-date-chooser.c
index 2c0cd39f..bb169eb0 100644
--- a/src/gui/event-editor/gcal-date-chooser.c
+++ b/src/gui/event-editor/gcal-date-chooser.c
@@ -473,6 +473,7 @@ gcal_date_chooser_set_date (GcalView *view,
{
gcal_multi_choice_set_value (GCAL_MULTI_CHOICE (self->year_choice), y2);
gcal_multi_choice_set_value (GCAL_MULTI_CHOICE (self->month_choice), m2 - 1);
+ gcal_multi_choice_set_value (GCAL_MULTI_CHOICE (self->combined_choice), y2 * 12 + m2 - 1);
calendar_compute_days (self);
gcal_timeline_subscriber_range_changed (GCAL_TIMELINE_SUBSCRIBER (self));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]