[evolution] Print actions disabled in Calendar view



commit 17623e90a31cbcdfd579957479071b3321508b62
Author: Milan Crha <mcrha redhat com>
Date:   Tue Sep 25 15:15:47 2018 +0200

    Print actions disabled in Calendar view

 src/modules/calendar/e-cal-shell-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/modules/calendar/e-cal-shell-view.c b/src/modules/calendar/e-cal-shell-view.c
index de9e874411..4400ae753e 100644
--- a/src/modules/calendar/e-cal-shell-view.c
+++ b/src/modules/calendar/e-cal-shell-view.c
@@ -376,11 +376,11 @@ cal_shell_view_update_actions (EShellView *shell_view)
        gtk_action_set_sensitive (action, sensitive);
 
        action = ACTION (CALENDAR_PRINT);
-       sensitive = clicked_source_is_primary;
+       sensitive = TRUE;
        gtk_action_set_sensitive (action, sensitive);
 
        action = ACTION (CALENDAR_PRINT_PREVIEW);
-       sensitive = clicked_source_is_primary;
+       sensitive = TRUE;
        gtk_action_set_sensitive (action, sensitive);
 
        action = ACTION (CALENDAR_PROPERTIES);


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