mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
batch-rename-dialog: Don't add separator above first row
It doesn't look good.
This commit is contained in:
parent
02a2fe8c42
commit
804a55fbbe
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue