[evolution/gnome-3-30] Print actions disabled in Calendar view



commit 6038dee4b96974c06f47c0275b4ca2ebf13da13e
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]