[evolution] I#1336 - Calendar: Preserve time when creating events with double-click ][
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#1336 - Calendar: Preserve time when creating events with double-click ][
- Date: Wed, 20 Jan 2021 13:19:51 +0000 (UTC)
commit 846072aeeb286e5fb65c5688ca3ae65628019889
Author: Milan Crha <mcrha redhat com>
Date: Wed Jan 20 14:18:37 2021 +0100
I#1336 - Calendar: Preserve time when creating events with double-click ][
Correct overlooked runtime warning about missing GtkAction, because
it had been renamed.
Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1336
src/modules/calendar/e-cal-shell-view-actions.h | 4 ++--
src/modules/calendar/e-cal-shell-view.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/modules/calendar/e-cal-shell-view-actions.h b/src/modules/calendar/e-cal-shell-view-actions.h
index 26a4d8b398..577f894beb 100644
--- a/src/modules/calendar/e-cal-shell-view-actions.h
+++ b/src/modules/calendar/e-cal-shell-view-actions.h
@@ -102,8 +102,8 @@
E_SHELL_WINDOW_ACTION ((window), "event-reply-all")
#define E_SHELL_WINDOW_ACTION_EVENT_OCCURRENCE_MOVABLE(window) \
E_SHELL_WINDOW_ACTION ((window), "event-occurrence-movable")
-#define E_SHELL_WINDOW_ACTION_EVENT_MEETING_NEW(window) \
- E_SHELL_WINDOW_ACTION ((window), "event-meeting-new")
+#define E_SHELL_WINDOW_ACTION_EVENT_POPUP_MEETING_NEW(window) \
+ E_SHELL_WINDOW_ACTION ((window), "event-popup-meeting-new")
/* Memo Pad Actions */
#define E_SHELL_WINDOW_ACTION_CALENDAR_MEMOPAD_FORWARD(window) \
diff --git a/src/modules/calendar/e-cal-shell-view.c b/src/modules/calendar/e-cal-shell-view.c
index b6876fc512..4242435c75 100644
--- a/src/modules/calendar/e-cal-shell-view.c
+++ b/src/modules/calendar/e-cal-shell-view.c
@@ -491,7 +491,7 @@ cal_shell_view_update_actions (EShellView *shell_view)
sensitive = single_event_selected && selection_is_meeting;
gtk_action_set_sensitive (action, sensitive);
- action = ACTION (EVENT_MEETING_NEW);
+ action = ACTION (EVENT_POPUP_MEETING_NEW);
gtk_action_set_visible (action, has_mail_identity);
gtk_action_set_sensitive (ACTION (CALENDAR_GO_BACK), !is_list_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]