diff options
Diffstat (limited to 'src/nautilus-main.c')
-rw-r--r-- | src/nautilus-main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nautilus-main.c b/src/nautilus-main.c index 1948ec2bd..655614361 100644 --- a/src/nautilus-main.c +++ b/src/nautilus-main.c @@ -43,6 +43,7 @@ #include <libnautilus-extensions/nautilus-lib-self-check-functions.h> #include <libnautilus-extensions/nautilus-self-checks.h> #include <libnautilus-extensions/nautilus-glib-extensions.h> +#include <libnautilus-extensions/nautilus-global-preferences.h> #include <liboaf/liboaf.h> #include <gtk/gtkmain.h> #include <parser.h> @@ -212,6 +213,12 @@ main (int argc, char *argv[]) bonobo_init (orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL); bonobo_activate (); /* do now since we need it before main loop */ + /* Initialize preferences. This is needed so that proper + * defaults are available before any preference peeking + * happens. + */ + nautilus_global_preferences_initialize (); + /* Do either the self-check or the real work. */ if (perform_self_check) { #ifndef NAUTILUS_OMIT_SELF_CHECK |