[gnome-calendar/gbsneto/recurring-event-editing-fixes: 11/24] views: Don't show MOD_ALL
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gbsneto/recurring-event-editing-fixes: 11/24] views: Don't show MOD_ALL
- Date: Tue, 18 Oct 2022 02:36:34 +0000 (UTC)
commit 5329c2297b4c85f878c524538c66ef290bd25554
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Oct 14 11:35:52 2022 -0300
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]