tText in multi-column gtk_clists under Win32 is now terminated "nicely" with an ellipsis if it's too long to fit in a column - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 59957ad5d66dac73994dc02342928a4562049126
 (DIR) parent a7eeb732e352a37be7062755c0a95b2e886ed70d
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Thu, 14 Feb 2002 16:54:03 +0000
       
       Text in multi-column gtk_clists under Win32 is now terminated "nicely" with
       an ellipsis if it's too long to fit in a column
       
       
       Diffstat:
         M src/gtkport.c                       |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/gtkport.c b/src/gtkport.c
       t@@ -2314,8 +2314,10 @@ void gtk_clist_draw_row(GtkCList *clist,LPDRAWITEMSTRUCT lpdis) {
                 if (rcCol.left > lpdis->rcItem.right) rcCol.left=lpdis->rcItem.right;
                 if (rcCol.right > lpdis->rcItem.right) rcCol.right=lpdis->rcItem.right;
                 if (i==clist->ncols-1) rcCol.right=lpdis->rcItem.right;
       -         if (row->text[i]) DrawText(lpdis->hDC,row->text[i],-1,&rcCol,
       -                                    DT_LEFT|DT_SINGLELINE|DT_VCENTER);
       +         if (row->text[i]) {
       +           DrawText(lpdis->hDC,row->text[i],-1,&rcCol,
       +                    DT_LEFT|DT_SINGLELINE|DT_VCENTER|DT_END_ELLIPSIS);
       +         }
              }
           }