Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-01-11 11:29:03 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-01-11 11:29:03 (GMT)
commit8d0bc51eae0fb7fd91191889ab04f22049c45069 (patch)
tree7dc5d0e4e05f98de09041295e5fccba702a1e274
parent82769a9fd31a34c134d7cacbe66c90aee88f6034 (diff)
[shell] Update only Copy action sensitivity when selection changes
-rw-r--r--shell/ev-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index a22b961..3714831 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