]> www.fi.muni.cz Git - evince.git/commit
[shell] Propagate key events from EvWindow to EvView
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 12 May 2009 10:01:43 +0000 (12:01 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 12 May 2009 10:01:43 +0000 (12:01 +0200)
commitf81a810207898013bc1dba138f9ed50cb6d765d6
tree638b6dc9182c451a0a98b32449d2a35965aea502
parente2822c4d43b39aa535f923b4e0fb4af6537d056f
[shell] Propagate key events from EvWindow to EvView

EvAnnotationWindow is a GtkWindow that doesn't accept focus, but we
manually grab the focus on the text view contained in it to be able to
modify the annotation contents. We need to propagate the key events to
the view even when the view is not the focused widget. The view will
only handle these events when there's a popup window with the focus so
that it's possible to type in window annotations.
shell/ev-window.c