blob: 330845edb677c4f4995950cfb8a56dc8cbb35143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Engrampa
*
* Copyright (C) 2001, 2003 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef PREFERENCES_H
#define PREFERENCES_H
#include <gtk/gtk.h>
#include "typedefs.h"
#include "fr-window.h"
#define ENGRAMPA_SCHEMA "org.mate.engrampa"
#define ENGRAMPA_SCHEMA_LISTING ENGRAMPA_SCHEMA ".listing"
#define ENGRAMPA_SCHEMA_UI ENGRAMPA_SCHEMA ".ui"
#define ENGRAMPA_SCHEMA_GENERAL ENGRAMPA_SCHEMA ".general"
#define ENGRAMPA_SCHEMA_DIALOGS ENGRAMPA_SCHEMA ".dialogs"
#define ENGRAMPA_SCHEMA_ADD ENGRAMPA_SCHEMA_DIALOGS ".add"
#define ENGRAMPA_SCHEMA_BATCH_ADD ENGRAMPA_SCHEMA_DIALOGS ".batch-add"
#define ENGRAMPA_SCHEMA_EXTRACT ENGRAMPA_SCHEMA_DIALOGS ".extract"
#define ENGRAMPA_SCHEMA_LAST_OUTPUT ENGRAMPA_SCHEMA_DIALOGS ".last-output"
#define PREF_LISTING_SORT_METHOD "sort-method"
#define PREF_LISTING_SORT_TYPE "sort-type"
#define PREF_LISTING_LIST_MODE "list-mode"
#define PREF_LISTING_SHOW_TYPE "show-type"
#define PREF_LISTING_SHOW_SIZE "show-size"
#define PREF_LISTING_SHOW_TIME "show-time"
#define PREF_LISTING_SHOW_PATH "show-path"
#define PREF_LISTING_USE_MIME_ICONS "use-mime-icons"
#define PREF_LISTING_NAME_COLUMN_WIDTH "name-column-width"
#define PREF_UI_WINDOW_WIDTH "window-width"
#define PREF_UI_WINDOW_HEIGHT "window-height"
#define PREF_UI_SIDEBAR_WIDTH "sidebar-width"
#define PREF_UI_HISTORY_LEN "history-len"
#define PREF_UI_VIEW_TOOLBAR "view-toolbar"
#define PREF_UI_VIEW_STATUSBAR "view-statusbar"
#define PREF_UI_VIEW_FOLDERS "view-folders"
#define PREF_GENERAL_EDITORS "editors"
#define PREF_GENERAL_COMPRESSION_LEVEL "compression-level"
#define PREF_GENERAL_ENCRYPT_HEADER "encrypt-header"
#define PREF_EXTRACT_OVERWRITE "overwrite"
#define PREF_EXTRACT_SKIP_NEWER "skip-newer"
#define PREF_EXTRACT_CLOSE_DIALOG "close-dialog"
#define PREF_EXTRACT_RECREATE_FOLDERS "recreate-folders"
#define PREF_EXTRACT_CREATE_SUBDIR "create-subdirectory"
#define PREF_ADD_CURRENT_FOLDER "current-folder"
#define PREF_ADD_FILENAME "filename"
#define PREF_ADD_INCLUDE_FILES "include-files"
#define PREF_ADD_EXCLUDE_FILES "exclude-files"
#define PREF_ADD_EXCLUDE_FOLDERS "exclude-folders"
#define PREF_ADD_UPDATE "update"
#define PREF_ADD_RECURSIVE "recursive"
#define PREF_ADD_NO_SYMLINKS "no-symlinks"
#define PREF_BATCH_ADD_DEFAULT_EXTENSION "default-extension"
#define PREF_BATCH_ADD_OTHER_OPTIONS "other-options"
#define PREF_BATCH_ADD_VOLUME_SIZE "volume-size"
#define CAJA_SCHEMA "org.mate.caja.preferences"
#define CAJA_CLICK_POLICY "click-policy"
void pref_util_save_window_geometry (GtkWindow *window,
const char *dialog_id);
void pref_util_restore_window_geometry (GtkWindow *window,
const char *dialog_id);
#endif /* PREFERENCES_H */
|