nautilus-global-preferences.h 3.26 KB
Newer Older
1
2
3
4
5
6
/* -*- 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.

7
   This program is free software; you can redistribute it and/or
8
9
10
11
   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.

12
   This program is distributed in the hope that it will be useful,
13
14
15
16
17
   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
18
   License along with this program; see the file COPYING.LIB.  If not,
19
20
21
22
23
24
25
26
27
28
29
30
31
32
   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

33
/* Window options */
34
35
#define NAUTILUS_PREFERENCES_WINDOW_ALWAYS_NEW			"/nautilus/preferences/window_always_new"

36
37
38
/* Show hidden files  */
#define NAUTILUS_PREFERENCES_SHOW_HIDDEN_FILES  		"/nautilus/preferences/show_hidden_files"

39
/* sidebar width */
40
#define NAUTILUS_PREFERENCES_SIDEBAR_WIDTH  			"/nautilus/preferences/sidebar_width"
41

42
43
44
/* Home URI  */
#define NAUTILUS_PREFERENCES_HOME_URI                 		"/nautilus/preferences/home_uri"

45
46
47
/* adding/removing from property browser */
#define NAUTILUS_PREFERENCES_CAN_ADD_CONTENT			"/nautilus/preferences/can_add_content"

48
49
/* Preferences not (currently?) displayed in dialog */
#define NAUTILUS_PREFERENCES_ICON_VIEW_TEXT_ATTRIBUTE_NAMES	"/nautilus/icon_view/text_attribute_names"
50
#define NAUTILUS_PREFERENCES_SHOW_REAL_FILE_NAME		"/nautilus/preferences/show_real_file_name"
51

52
/* Single/Double click preference  */
53
#define NAUTILUS_PREFERENCES_CLICK_POLICY			"/nautilus/preferences/click_policy"
54

55
56
57
/* use anti-aliased canvas */
#define NAUTILUS_PREFERENCES_ANTI_ALIASED_CANVAS		"/nautilus/preferences/anti_aliased_canvas"

58
59
60
/* Sidebar panels */
#define NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE		"/nautilus/sidebar-panels"

61
62
63
/* Directory view */
#define NAUTILUS_PREFERENCES_DIRECTORY_VIEW_FONT_FAMILY		"/nautilus/directory-view/font_family"

64
65
66
67
/* themes */
#define NAUTILUS_PREFERENCES_EAZEL_TOOLBAR_ICONS		"/nautilus/preferences/eazel_toolbar_icons"
#define NAUTILUS_PREFERENCES_ICON_THEME				"/nautilus/preferences/icon_theme"

68
69
enum
{
70
71
	NAUTILUS_CLICK_POLICY_SINGLE,
	NAUTILUS_CLICK_POLICY_DOUBLE
72
73
};

74
#define NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS "/nautilus/preferences/remote_icon_text"
75

76
77
78
79
void   nautilus_global_preferences_startup                                     (int    argc,
										char **argv);
void   nautilus_global_preferences_shutdown                                    (void);
void   nautilus_global_preferences_show_dialog                                 (void);
80
81

/* Sidebar */
82
83
84
GList *nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers  (void);
GList *nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers (void);

85
86
87
88
89
90

BEGIN_GNOME_DECLS

#endif /* NAUTILUS_PREFS_GLOBAL_H */