simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Sep 9 12:46:18 BST 2014


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10219
Date:           2014-09-09 12:46:14 +0100 (Tue, 09 Sep 2014)

Log message (11 lines):
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.

Modified files:
U   putty/dialog.c
U   putty/dialog.h
U   putty/unix/gtkdlg.c

Links:
http://svn.tartarus.org/sgt/?rev=10219&view=rev
http://svn.tartarus.org/sgt/putty/dialog.c?rev=10219&r1=10218&r2=10219
http://svn.tartarus.org/sgt/putty/dialog.h?rev=10219&r1=10218&r2=10219
http://svn.tartarus.org/sgt/putty/unix/gtkdlg.c?rev=10219&r1=10218&r2=10219



More information about the tartarus-commits mailing list