]> Pileus Git - ~andy/gtk/commit
entry-completion: don't move to leftmost character with inline-selection
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 12 Jun 2012 04:13:55 +0000 (00:13 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 13 Jun 2012 21:09:09 +0000 (17:09 -0400)
commit3851a1cf904a088e859e617108e839e3c6271730
tree3672dea4fa8a7a7c6b91fab037cad0cc13e7b587
parentb80d935b950f6c3eec581f12674cbe5685a6b3ed
entry-completion: don't move to leftmost character with inline-selection

When inline-selection is set, and the completion popup is showing,
pressing left abruptly jumps to the beginning of the entry text.
This is not expected, since the cursor is at the end of the text before
the left key is pressed, and this behavior is completely inconsistent
with how an entry would normally behave.
The behavior can be observed in Epiphany by selecting a completion match
and pressing left.

This patch changes the code so that it just runs the default entry key
press keybindings in such a case.

https://bugzilla.gnome.org/show_bug.cgi?id=677915
gtk/gtkentry.c