reviewed by: John Sullivan <firstname.lastname@example.org>
Fix bug 8251 (Mozilla component crashes every time I try to view a web page) by putting the same logic for locating Mozilla that is used by galeon into Nautilus. * src/nautilus-application.c: (is_mozilla_path_good), (get_mozilla_path), (find_mozilla): Code to find Mozilla and set up some environment variables that matches the code in galeon's startup script. (finish_startup): New function for initialization code that should be done only in the main Nautilus, not in clients that are going to contact the main Nautilus. More initialization should be moved in here over time. Calls find_mozilla among other things. (nautilus_application_startup): Moved the sound initialization and the code to migrate desktop directory contents inside the new initialization function.
Showing with 107 additions and 12 deletions