]> spindle.queued.net Git - midori/commit
Pass action to cell renderer callback rather than the entry
authorChristian Dywan <christian@twotoasts.de>
Thu, 11 Feb 2010 22:55:36 +0000 (23:55 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 11 Feb 2010 23:36:59 +0000 (00:36 +0100)
commitf19412bc709a474045021d756542d1c2a1289056
tree01a33d03be63864c0439998cb37c9c29cfb7accd
parentf733f453d237066511e772ddbbd1dbb90f070b9a
Pass action to cell renderer callback rather than the entry

The entry pointer is only meaningful if completion was triggered
by typing or editing in an entry.
We shouldn't render a key in results if the arrow button opened the
completion popup.
We need to check the key in the callback to avoid accidentally
working with an entry of a different window.
midori/midori-locationaction.c