From 8d0bc51eae0fb7fd91191889ab04f22049c45069 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 11 Jan 2010 12:29:03 +0100 Subject: [PATCH] [shell] Update only Copy action sensitivity when selection changes --- shell/ev-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/ev-window.c b/shell/ev-window.c index a22b961f..37148318 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -857,7 +857,8 @@ static void view_selection_changed_cb (EvView *view, EvWindow *window) { - ev_window_update_actions (window); + ev_window_set_action_sensitive (window, "EditCopy", + ev_view_get_has_selection (view)); } static void -- 2.43.0