From: Carlos Garcia Campos Date: Mon, 11 Jan 2010 11:29:03 +0000 (+0100) Subject: [shell] Update only Copy action sensitivity when selection changes X-Git-Tag: EVINCE_2_29_5~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=8d0bc51eae0fb7fd91191889ab04f22049c45069;p=evince.git [shell] Update only Copy action sensitivity when selection changes --- 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