Or safer, call basename on it for the _gnome() functions, I'm not sure if other environments (kde, xfce4) expect full paths or not. But I know GNOME doesn't.
Or safer, call basename on it for the _gnome() functions, I'm not sure if other environments (kde, xfce4) expect full paths or not. But I know GNOME doesn't.