CVSROOT: /cvs/gnome Module name: epiphany Changes by: philipl 05/11/02 01:28:03
Modified files: . : ChangeLog src : ephy-window.c Log message: 2005-11-01 Philip Langdale <[EMAIL PROTECTED]> * 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. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=epiphany&who=philipl&date=explicit&mindate=2005-11-02%2001:27&maxdate=2005-11-02%2001:29 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list