~azzar1/unity/geo-const

Viewing all changes in revision 1962.

  • Committer: Tarmac
  • Author(s): Brandon Schaefer
  • Date: 2012-02-13 21:01:42 UTC
  • mfrom: (1827.2.7 fix-915828)
  • Revision ID: tarmac-20120213210142-k2r6kazfnib9la1t
Fixes the gtk-im-context not getting focused when the dash is opened. A signal from nux was removed causing this; couldn't find one to replace it. So using a property bool when the dash is about to show to call OnFocusIn(); when it is hiding OnFocusOut().

Not sure if I should have exposed those two functions in IMTextEntry.h, if that is not wanted I can add another property bool in IMTextEntry.cpp and use that focus in and out.. Fixes: https://bugs.launchpad.net/bugs/915828, https://bugs.launchpad.net/bugs/928154. Approved by Tim Penhey, Sam Spilsbury.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: