diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-05-30 12:57:16 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-05-30 12:57:16 +0000 |
commit | 6cb850158a6b1e23a6c35e49c48775807605400b (patch) | |
tree | b4e1dc98a2e626593ff7defa013ab50a331c7018 /libnautilus-private/nautilus-preferences.c | |
parent | ed231e9a40c62201887a591a4acd08c22cc6600b (diff) | |
download | nautilus-6cb850158a6b1e23a6c35e49c48775807605400b.tar.gz |
New class to manager user level stuff.
* nautilus-widgets/nautilus-user-level-manager.c:
(user_level_manager_new), (nautilus_user_level_manager_initialize),
(nautilus_user_level_manager_initialize_class),
(user_level_manager_destroy),
(user_level_manager_get_global_manager),
(user_level_manager_is_initialized), (get_gconf_user_level_string),
(user_level_set_default_if_needed),
(nautilus_user_level_manager_get),
(nautilus_user_level_manager_set_user_level),
(nautilus_user_level_manager_get_user_level),
(nautilus_user_level_manager_get_num_user_levels),
(nautilus_user_level_manager_get_user_level_names):
* nautilus-widgets/nautilus-user-level-manager.h:
New class to manager user level stuff.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_startup):
* nautilus-widgets/Makefile.am:
* nautilus-widgets/nautilus-preferences.c:
(nautilus_preferences_initialize):
* nautilus-widgets/nautilus-preferences.h:
* nautilus-widgets/test-nautilus-preferences.c: (main):
Undo the last stoopid change cuz the user level stuff is now
hidden in the NautilusUserLevelManager class.
Diffstat (limited to 'libnautilus-private/nautilus-preferences.c')
-rw-r--r-- | libnautilus-private/nautilus-preferences.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libnautilus-private/nautilus-preferences.c b/libnautilus-private/nautilus-preferences.c index d57dcdedb..84918c8ba 100644 --- a/libnautilus-private/nautilus-preferences.c +++ b/libnautilus-private/nautilus-preferences.c @@ -905,17 +905,10 @@ nautilus_preferences_get (const char *name, } gboolean -nautilus_preferences_initialize (int argc, - char **argv, - guint num_user_levels, - const NautilusStringList *user_level_names) +nautilus_preferences_initialize (int argc, char **argv) { GConfError *error = NULL; - g_return_val_if_fail (num_user_levels > 0, FALSE); - g_return_val_if_fail (user_level_names != NULL, FALSE); - g_return_val_if_fail (nautilus_string_list_get_length (user_level_names) == num_user_levels, FALSE); - if (!gconf_init (argc, argv, &error)) { g_assert (error != NULL); |