diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-14 11:35:52 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2022-10-17 23:37:13 -0300 |
commit | 5329c2297b4c85f878c524538c66ef290bd25554 (patch) | |
tree | 05bfce379857ff97bd06843652c7aebe0a54cb03 | |
parent | 6a5c0229b9e8154781aee235d5439fadbcccfce3 (diff) | |
download | gnome-calendar-5329c2297b4c85f878c524538c66ef290bd25554.tar.gz |
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
-rw-r--r-- | src/gui/views/gcal-month-cell.c | 2 | ||||
-rw-r--r-- | src/gui/views/gcal-week-grid.c | 2 | ||||
-rw-r--r-- | 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); } |