diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-03-11 00:18:22 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-03-11 00:18:22 +0000 |
commit | 00f9035c4b10c3a80be553b616dcf64aeb0da903 (patch) | |
tree | c90437672470d604c2e82e3aba34671086e71345 /src/nautilus-global-preferences.h | |
parent | b948827821e27c22c1d23683d70c257290f932e9 (diff) | |
download | nautilus-00f9035c4b10c3a80be553b616dcf64aeb0da903.tar.gz |
src/Makefile.am Moved prefs things to nautilus-widgets. Use
* src/Makefile.am
Moved prefs things to nautilus-widgets.
Use alphabetization technology on the source list.
* src/nautilus-global-preferences.c,
src/nautilus-global-preferences.h:
New files that to deal with preferences that are
global to nautilus.
* src/nautilus-window-menus.c:
Use the new preferences dialog.
* src/ntl-window-state.c:
Go to a different home directory based on the user level.
Commented off until andy makes a nice default home directory
for novice users.
* src/nautilus-prefs-box.c
src/nautilus-prefs-box.h,
src/nautilus-prefs-dialog.c,
src/nautilus-prefs-dialog.h,
src/nautilus-prefs-group-check.c,
src/nautilus-prefs-group-check.h,
src/nautilus-prefs-group-radio.c,
src/nautilus-prefs-group-radio.h,
src/nautilus-prefs-group.c,
src/nautilus-prefs-group.h,
src/nautilus-prefs-pane.c,
src/nautilus-prefs-pane.h,
src/ntl-prefs.c,
src/ntl-prefs.h:
Moved prefs widegtry things to nautilus-widgets.
Diffstat (limited to 'src/nautilus-global-preferences.h')
-rw-r--r-- | src/nautilus-global-preferences.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/nautilus-global-preferences.h b/src/nautilus-global-preferences.h new file mode 100644 index 000000000..c3a1efde6 --- /dev/null +++ b/src/nautilus-global-preferences.h @@ -0,0 +1,53 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ + +/* nautilus-global-prefs.h - Nautilus main preferences api. + + Copyright (C) 1999, 2000 Eazel, Inc. + + The Gnome Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The Gnome Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the Gnome Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + + Authors: Ramiro Estrugo <ramiro@eazel.com> +*/ + +#ifndef NAUTILUS_PREFS_GLOBAL_H +#define NAUTILUS_PREFS_GLOBAL_H + +#include <gnome.h> +#include <nautilus-widgets/nautilus-preferences.h> + +BEGIN_GNOME_DECLS + +#define NAUTILUS_PREFS_WINDOW_ALWAYS_NEW "/nautilus/prefs/window_always_new" +#define NAUTILUS_PREFS_WINDOW_SEARCH_EXISTING "/nautilus/prefs/window_search_existing" +#define NAUTILUS_PREFS_USER_LEVEL "/nautilus/prefs/user_level" + +enum +{ + NAUTILUS_USER_LEVEL_NOVICE, + NAUTILUS_USER_LEVEL_INTERMEDIATE, + NAUTILUS_USER_LEVEL_HACKER, + NAUTILUS_USER_LEVEL_ETTORE +}; + +void nautilus_prefs_global_shutdown (void); +void nautilus_prefs_global_show_dialog (void); +NautilusPrefs *nautilus_prefs_global_get_prefs (void); + +BEGIN_GNOME_DECLS + +#endif /* NAUTILUS_PREFS_GLOBAL_H */ + + |