commitmsg: remove event filter to avoid spurious resizing
commit0bc8b0f24f8de58d18a061d230eacd888d588423
authorDavid Aguilar <davvid@gmail.com>
Fri, 10 Jan 2014 01:28:27 +0000 (9 17:28 -0800)
committerDavid Aguilar <davvid@gmail.com>
Fri, 10 Jan 2014 01:28:48 +0000 (9 17:28 -0800)
tree28014ccda2a7706ce7dd239034266f989d71be9e
parent18c5a774469d592715a378064538e6bd4e0db422
commitmsg: remove event filter to avoid spurious resizing

The commit message editor changes its minimum size when its focus
changes.  This allowed a nice behavior where it can be resized down so
that the description is not visible.

This is problematic because changing focus to/from the commit message
editor causes the dock widgets to resize themselves, which is not
wanted.

Set a sane minimum size on the description field and remove the event
filters so that we no longer futz with the minimum size.  This prevents
the spurious resizing.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/widgets/commitmsg.py