1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 3 /* 4 * File-Roller 5 * 6 * Copyright (C) 2001, 2003, 2010 Free Software Foundation, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 #ifndef PREFERENCES_H 23 #define PREFERENCES_H 24 25 #include <gtk/gtk.h> 26 #include "typedefs.h" 27 #include "fr-window.h" 28 29 #define FILE_ROLLER_SCHEMA "org.gnome.FileRoller" 30 #define FILE_ROLLER_SCHEMA_LISTING FILE_ROLLER_SCHEMA ".Listing" 31 #define FILE_ROLLER_SCHEMA_UI FILE_ROLLER_SCHEMA ".UI" 32 #define FILE_ROLLER_SCHEMA_GENERAL FILE_ROLLER_SCHEMA ".General" 33 #define FILE_ROLLER_SCHEMA_DIALOGS FILE_ROLLER_SCHEMA ".Dialogs" 34 #define FILE_ROLLER_SCHEMA_NEW FILE_ROLLER_SCHEMA_DIALOGS ".New" 35 #define FILE_ROLLER_SCHEMA_ADD FILE_ROLLER_SCHEMA_DIALOGS ".Add" 36 #define FILE_ROLLER_SCHEMA_EXTRACT FILE_ROLLER_SCHEMA_DIALOGS ".Extract" 37 #define FILE_ROLLER_SCHEMA_LAST_OUTPUT FILE_ROLLER_SCHEMA_DIALOGS ".LastOutput" 38 39 #define PREF_LISTING_SORT_METHOD "sort-method" 40 #define PREF_LISTING_SORT_TYPE "sort-type" 41 #define PREF_LISTING_LIST_MODE "list-mode" 42 #define PREF_LISTING_SHOW_TYPE "show-type" 43 #define PREF_LISTING_SHOW_SIZE "show-size" 44 #define PREF_LISTING_SHOW_TIME "show-time" 45 #define PREF_LISTING_SHOW_PATH "show-path" 46 #define PREF_LISTING_NAME_COLUMN_WIDTH "name-column-width" 47 48 #define PREF_UI_WINDOW_WIDTH "window-width" 49 #define PREF_UI_WINDOW_HEIGHT "window-height" 50 #define PREF_UI_SIDEBAR_WIDTH "sidebar-width" 51 #define PREF_UI_VIEW_SIDEBAR "view-sidebar" 52 53 #define PREF_GENERAL_EDITORS "editors" 54 #define PREF_GENERAL_COMPRESSION_LEVEL "compression-level" 55 #define PREF_GENERAL_ENCRYPT_HEADER "encrypt-header" 56 57 #define PREF_EXTRACT_SKIP_NEWER "skip-newer" 58 #define PREF_EXTRACT_RECREATE_FOLDERS "recreate-folders" 59 60 #define PREF_ADD_CURRENT_FOLDER "current-folder" 61 #define PREF_ADD_SELECTED_FILES "selected-files" 62 #define PREF_ADD_INCLUDE_FILES "include-files" 63 #define PREF_ADD_EXCLUDE_FILES "exclude-files" 64 #define PREF_ADD_EXCLUDE_FOLDERS "exclude-folders" 65 #define PREF_ADD_UPDATE "update" 66 #define PREF_ADD_RECURSIVE "recursive" 67 #define PREF_ADD_NO_FOLLOW_SYMLINKS "no-symlinks" 68 69 #define PREF_NEW_DEFAULT_EXTENSION "default-extension" 70 #define PREF_NEW_ENCRYPT_HEADER "encrypt-header" 71 #define PREF_NEW_VOLUME_SIZE "volume-size" 72 #define PREF_NEW_EXPAND_OPTIONS "expand-options" 73 74 #define NAUTILUS_SCHEMA "org.gnome.nautilus.preferences" 75 #define NAUTILUS_CLICK_POLICY "click-policy" 76 77 void pref_util_save_window_geometry (GtkWindow *window, 78 const char *dialog_id); 79 void pref_util_restore_window_geometry (GtkWindow *window, 80 const char *dialog_id); 81 82 #endif /* PREFERENCES_H */ 83