Replace filename with basename

Khem Raj requested to merge kraj/nautilus:master into main

This avoids emitting absolute paths into generated sourcecode, it improves reproducibility. See [1]

[1] https://developer-old.gnome.org/gobject/stable/glib-mkenums.html

Merge request reports