[evolution] M!40 - [ECompEditor] Switch between 'All Day Event/Task' with Control+Y



commit 38ec854fe94857b2c5cf72c86865d938a99d4b4e
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Fri Aug 2 19:58:52 2019 +0000

    M!40 - [ECompEditor] Switch between 'All Day Event/Task' with Control+Y
    
    Alt+Y in an appointment switches between “All Day Appointment”. From
    user’s perspective it is better, when both Event and Task editor provide
    shortcut, that does the same.  In some environments, like on my computer,
    Alt+Y cannot be used as shortcut, only as accelerator, hence Control+Y.
    
    Closes https://gitlab.gnome.org/GNOME/evolution/merge_requests/40

 src/calendar/gui/e-comp-editor-event.c | 2 +-
 src/calendar/gui/e-comp-editor-task.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/gui/e-comp-editor-event.c b/src/calendar/gui/e-comp-editor-event.c
index 1003830193..49dececa3d 100644
--- a/src/calendar/gui/e-comp-editor-event.c
+++ b/src/calendar/gui/e-comp-editor-event.c
@@ -719,7 +719,7 @@ ece_event_setup_ui (ECompEditorEvent *event_editor)
                { "all-day-event",
                  "stock_new-24h-appointment",
                  N_("All _Day Event"),
-                 NULL,
+                 "<Control>Y",
                  N_("Toggles whether to have All Day Event"),
                  NULL,
                  FALSE },
diff --git a/src/calendar/gui/e-comp-editor-task.c b/src/calendar/gui/e-comp-editor-task.c
index d4ff76f72b..574c9bbb50 100644
--- a/src/calendar/gui/e-comp-editor-task.c
+++ b/src/calendar/gui/e-comp-editor-task.c
@@ -693,7 +693,7 @@ ece_task_setup_ui (ECompEditorTask *task_editor)
                { "all-day-task",
                  "stock_new-24h-appointment",
                  N_("All _Day Task"),
-                 NULL,
+                 "<Control>Y",
                  N_("Toggles whether to have All Day Task"),
                  NULL,
                  FALSE }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]