gitk: Improve behaviour of drop-down lists
commit39c126914b4b7365251f32d34926506c229f090e
authorPaul Mackerras <paulus@samba.org>
Sat, 11 May 2013 07:08:41 +0000 (11 17:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 11 May 2013 07:08:41 +0000 (11 17:08 +1000)
treecbbef1616a8f2f66f3699bf9a7a2f3d786238657
parent252c52df9d8d34692cb98a001491dd448e705901
gitk: Improve behaviour of drop-down lists

The drop-down lists used for things like the criteria for finding
commits (containing/touching paths/etc.) use a combobox if we are
using the ttk widgets.  By default the combobox exports its value
as the selection when it is changed, which is unnecessary, and sometimes
the combobox wouldn't release the selection, which is annoying.

To fix this, we make these comboboxes not export their selection,
and also clear their selection whenever they are changed.  This makes
them more like a simple selection of alternatives, improving the look
and feel of gitk.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk