batch-rename-dialog: Don't add separator above first row

It doesn't look good.
This commit is contained in:
António Fernandes 2021-10-16 16:32:47 +01:00 committed by António Fernandes
parent 02a2fe8c42
commit 804a55fbbe

View file

@ -492,6 +492,13 @@ listbox_header_func (GtkListBoxRow *row,
{
GtkWidget *separator;
if (before == NULL)
{
/* First row needs no separator */
gtk_list_box_row_set_header (row, NULL);
return;
}
separator = gtk_list_box_row_get_header (row);
if (separator == NULL)
{