I've just found that the way .desktop files are handled in Gnome is configured in /usr/share/applications/defaults.list (and can be overriden in a per-user basis editing ~/.local/share/applications/defaults.list).
When the user changes the default browser, gnome-control-center should create and/or update ~/.local/share/applications/defaults.list accordingly, reflecting the user choice.
I've just found that the way .desktop files are handled in Gnome is configured in /usr/share/ applications/ defaults. list (and can be overriden in a per-user basis editing ~/.local/ share/applicati ons/defaults. list).
When the user changes the default browser, gnome-control- center should create and/or update ~/.local/ share/applicati ons/defaults. list accordingly, reflecting the user choice.