]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add an option to suppress horizontal scroll bars in list boxes.
authorSimon Tatham <anakin@pobox.com>
Tue, 9 Sep 2014 11:46:14 +0000 (11:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 9 Sep 2014 11:46:14 +0000 (11:46 +0000)
commitf3860ec95ea6308ce58cd891dedac1dc8751686e
tree2f12ecec78ce7beeaf7d7b42d95b0cd5323f23a3
parent80a9a7918a7d6ebb2fd6ea22c2607c1cf9e1011c
Add an option to suppress horizontal scroll bars in list boxes.

I'm about to add a list box which expects to contain some very long
but uninformative strings, and which is also quite vertically squashed
so there's not much room for a horizontal scroll bar to appear in it.
So here's an option in the list box specification structure which
causes the constructed GTKTreeView to use the 'ellipsize' option for
all its cell renderers, i.e. too-long strings are truncated with an
ellipsis.

Windows needs no change, because its list boxes already work this way.

[originally from svn r10219]
dialog.c
dialog.h
unix/gtkdlg.c