aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@mail.utexas.edu>2005-11-02 14:28:03 +0800
committerPhilip Langdale <philipl@src.gnome.org>2005-11-02 14:28:03 +0800
commit706ae063d0431b1ff6487421deb1abeafbf92f70 (patch)
tree5cff47de648e87a913b9f2b150b0db95d3631c08 /src/ephy-notebook.c
parent86160c950e3cf6514545ea307126de972a311dae (diff)
downloadgsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.tar
gsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.tar.gz
gsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.tar.bz2
gsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.tar.lz
gsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.tar.xz
gsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.tar.zst
gsoc2013-epiphany-706ae063d0431b1ff6487421deb1abeafbf92f70.zip
I accidentally committed my half-complete port of the Galeon key-press
2005-11-01 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-window.c: (ephy_window_key_press_event), (gtk_key_theme_changed_cb), (ephy_window_constructor), (ephy_window_class_init): I accidentally committed my half-complete port of the Galeon key-press event handler that allows emacs keybindings to work when I made my last commit. Whoops. This change addresses post-facto comments made by chpe :-) Nothing terribly profound; just attaching the GktSettings listener on a per-window, rather than global, basis and detecting the other keycodes for Enter/Return. As the original change wasn't described, I will do it here: Gtk+ has optional support for emacs style keybindings in GtkEditable based widgets. But, these keybindings often conflict with toplevel accelerators. To make things work sanely, we'd like the emacs keybindings to take priority when the Editable is focused, and the toplevel accelerators take priority for other widgets. As gtk2 uses outside-in event propagation, we have to attach a topevel event handler to get the event and then pass it on to the focused widget if appropriate - and that is what this change does.
Diffstat (limited to 'src/ephy-notebook.c')
0 files changed, 0 insertions, 0 deletions