From 5329c2297b4c85f878c524538c66ef290bd25554 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Fri, 14 Oct 2022 11:35:52 -0300 Subject: [PATCH] views: Don't show MOD_ALL The only field that views may change using DnD is the start date field (and, consequently, the end date), and that's exactly what we must not show the MOD_ALL option for. Don't show it. Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/882 --- src/gui/views/gcal-month-cell.c | 2 +- src/gui/views/gcal-week-grid.c | 2 +- src/gui/views/gcal-week-header.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/views/gcal-month-cell.c b/src/gui/views/gcal-month-cell.c index 14a75d20..22630296 100644 --- a/src/gui/views/gcal-month-cell.c +++ b/src/gui/views/gcal-month-cell.c @@ -215,7 +215,7 @@ on_drop_target_drop_cb (GtkDropTarget *drop_target, { gcal_utils_ask_recurrence_modification_type (GTK_WIDGET (self), event, - TRUE, + FALSE, on_ask_recurrence_response_cb, self); } diff --git a/src/gui/views/gcal-week-grid.c b/src/gui/views/gcal-week-grid.c index 5f731032..b85526cd 100644 --- a/src/gui/views/gcal-week-grid.c +++ b/src/gui/views/gcal-week-grid.c @@ -442,7 +442,7 @@ on_drop_target_drop_cb (GtkDropTarget *drop_target, gcal_utils_ask_recurrence_modification_type (GTK_WIDGET (self), event, - TRUE, + FALSE, on_ask_recurrence_response_cb, data); } diff --git a/src/gui/views/gcal-week-header.c b/src/gui/views/gcal-week-header.c index 7aa6cd4c..c93d959c 100644 --- a/src/gui/views/gcal-week-header.c +++ b/src/gui/views/gcal-week-header.c @@ -1283,7 +1283,7 @@ on_drop_target_drop_cb (GtkDropTarget *drop_target, gcal_utils_ask_recurrence_modification_type (GTK_WIDGET (self), event, - TRUE, + FALSE, on_ask_recurrence_response_cb, data); }