comparison finch/libgnt/gnttree.c @ 17707:3c3fc1432a01

Let windows know when the workspace they are in is being hidden/shown
author Richard Nelson <wabz@pidgin.im>
date Sat, 12 May 2007 23:58:11 +0000
parents 467698ab6bf0
children 08776fc5c06f
comparison
equal deleted inserted replaced
17706:8eed567eee39 17707:3c3fc1432a01
279 else 279 else
280 g_string_append_c(string, ' '); 280 g_string_append_c(string, ' ');
281 281
282 notfirst = TRUE; 282 notfirst = TRUE;
283 283
284 if (len > width) { 284 if (len > width - 2) {
285 len = width - 1; 285 len = width - 1;
286 cut = TRUE; 286 cut = TRUE;
287 } 287 }
288 text = gnt_util_onscreen_width_to_pointer(col->text, len - fl, NULL); 288 text = gnt_util_onscreen_width_to_pointer(col->text, len - fl, NULL);
289 string = g_string_append_len(string, col->text, text - col->text); 289 string = g_string_append_len(string, col->text, text - col->text);