/* -*- 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. This program 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. This program 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 this program; 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 */ #ifndef NAUTILUS_PREFS_GLOBAL_H #define NAUTILUS_PREFS_GLOBAL_H #include #include #include BEGIN_GNOME_DECLS /* Window options */ #define NAUTILUS_PREFERENCES_WINDOW_ALWAYS_NEW "/nautilus/preferences/window_always_new" /* Show hidden files */ #define NAUTILUS_PREFERENCES_SHOW_HIDDEN_FILES "/nautilus/preferences/show_hidden_files" /* sidebar width */ #define NAUTILUS_PREFERENCES_SIDEBAR_WIDTH "/nautilus/preferences/sidebar_width" /* Home URI */ #define NAUTILUS_PREFERENCES_HOME_URI "/nautilus/preferences/home_uri" /* adding/removing from property browser */ #define NAUTILUS_PREFERENCES_CAN_ADD_CONTENT "/nautilus/preferences/can_add_content" /* Wellknown meta views */ #define NAUTILUS_PREFERENCES_META_VIEWS_SHOW_ANNOTATIONS "/nautilus/metaviews/OAFIID:ntl_notes_view:7f04c3cb-df79-4b9a-a577-38b19ccd4185" #define NAUTILUS_PREFERENCES_META_VIEWS_SHOW_HELP_CONTENTS "/nautilus/metaviews/OAFIID:hyperbola_navigation_tree:57542ce0-71ff-442d-a764-462c92514234" #define NAUTILUS_PREFERENCES_META_VIEWS_SHOW_HELP_INDEX "/nautilus/metaviews/OAFIID:hyperbola_navigation_index:0bafadc7-09f1-4f10-8c8e-dad53124fc49" #define NAUTILUS_PREFERENCES_META_VIEWS_SHOW_HELP_SEARCH "/nautilus/metaviews/OAFIID:hyperbola_navigation_search:89b2f3b8-4f09-49c8-9a7b-ccb14d034813" #define NAUTILUS_PREFERENCES_META_VIEWS_SHOW_HISTORY "/nautilus/metaviews/OAFIID:ntl_history_view:a7a85bdd-2ecf-4bc1-be7c-ed328a29aacb" #define NAUTILUS_PREFERENCES_META_VIEWS_SHOW_WEB_SEARCH "/nautilus/metaviews/OAFIID:ntl_websearch_view:8216e1e4-6b01-4a28-82d9-5df30ed7d044" /* Preferences not (currently?) displayed in dialog */ #define NAUTILUS_PREFERENCES_ICON_VIEW_TEXT_ATTRIBUTE_NAMES "/nautilus/icon_view/text_attribute_names" #define NAUTILUS_PREFERENCES_ICON_THEME "/nautilus/preferences/icon_theme" #define NAUTILUS_PREFERENCES_SHOW_REAL_FILE_NAME "/nautilus/preferences/show_real_file_name" /* Single/Double click preference */ #define NAUTILUS_PREFERENCES_CLICK_POLICY "/nautilus/preferences/click_policy" enum { NAUTILUS_CLICK_POLICY_SINGLE, NAUTILUS_CLICK_POLICY_DOUBLE }; void nautilus_global_preferences_startup (void); void nautilus_global_preferences_shutdown (void); void nautilus_global_preferences_show_dialog (void); const NautilusStringList *nautilus_global_preferences_get_meta_view_iids (void); BEGIN_GNOME_DECLS #endif /* NAUTILUS_PREFS_GLOBAL_H */