gtkclist: allow adding a new row without having to give text for it (i.e. if you want to put all pixmaps)
This commit is contained in:
@ -940,6 +940,7 @@ gtk_clist_append (GtkCList * clist,
|
|||||||
clist->row_list_end = (g_list_append (clist->row_list_end, clist_row))->next;
|
clist->row_list_end = (g_list_append (clist->row_list_end, clist_row))->next;
|
||||||
|
|
||||||
/* set the text in the row's columns */
|
/* set the text in the row's columns */
|
||||||
|
if(text)
|
||||||
for (i = 0; i < clist->columns; i++)
|
for (i = 0; i < clist->columns; i++)
|
||||||
if (text[i])
|
if (text[i])
|
||||||
gtk_clist_cell_set_text (clist, clist_row, i, text[i]);
|
gtk_clist_cell_set_text (clist, clist_row, i, text[i]);
|
||||||
|
Reference in New Issue
Block a user