diff options
author | Darin Adler <darin@src.gnome.org> | 2001-05-24 00:52:58 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-05-24 00:52:58 +0000 |
commit | af84b033d504713e7270d2267dbf05f3ca238c86 (patch) | |
tree | bfc35e9e4d90d6735bf51abcb203bf3e96ba6a10 /libnautilus-private/nautilus-global-preferences.c | |
parent | 5bc8afbc192b46910b07bd359c89db2fb84b448f (diff) | |
download | nautilus-af84b033d504713e7270d2267dbf05f3ca238c86.tar.gz |
Added a default for the ADD_TO_SESSION preference. This should fix the
* libnautilus-private/nautilus-global-preferences.c: Added a
default for the ADD_TO_SESSION preference. This should fix the
problem where some people don't get any session
management. Miguel's patch removed the code to set this preference
in the first time druid so we need to default to TRUE.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_string_attribute_with_default): Used return
statements to simplify the logic a bit.
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.c')
-rw-r--r-- | libnautilus-private/nautilus-global-preferences.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c index e2d7149da..c1ffb8707 100644 --- a/libnautilus-private/nautilus-global-preferences.c +++ b/libnautilus-private/nautilus-global-preferences.c @@ -692,6 +692,7 @@ static const PreferenceDefault preference_defaults[] = { { EEL_USER_LEVEL_NOVICE, GINT_TO_POINTER (FALSE) }, { EEL_USER_LEVEL_INTERMEDIATE, GINT_TO_POINTER (TRUE) } }, + /* news panel preferences */ { NAUTILUS_PREFERENCES_NEWS_MAX_ITEMS, PREFERENCE_INTEGER, @@ -706,6 +707,14 @@ static const PreferenceDefault preference_defaults[] = { { USER_LEVEL_NONE } }, + /* non-visible preferences */ + { NAUTILUS_PREFERENCES_ADD_TO_SESSION, + PREFERENCE_BOOLEAN, + EEL_USER_LEVEL_NOVICE, + { EEL_USER_LEVEL_NOVICE, GINT_TO_POINTER (TRUE) }, + { USER_LEVEL_NONE } + }, + { NULL } }; |