Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-page-action.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c
index aab86ec..39ce3ec 100644
--- a/shell/ev-page-action.c
+++ b/shell/ev-page-action.c
@@ -361,7 +361,9 @@ ev_page_action_grab_focus (EvPageAction *page_action)
EvPageActionWidget *proxy;
proxy = EV_PAGE_ACTION_WIDGET (proxies->data);
- gtk_widget_grab_focus (proxy->entry);
+
+ if (GTK_WIDGET_MAPPED (GTK_WIDGET (proxy)))
+ gtk_widget_grab_focus (proxy->entry);
}
}