NetSurf
options.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef NETSURF_GTK_OPTIONS_H_
20#define NETSURF_GTK_OPTIONS_H_
21
22/* currently nothing here */
23
24#endif
25
26/* clear downloads */
27NSOPTION_BOOL(downloads_clear, false)
28
29/* prompt before overwriting downloads */
30NSOPTION_BOOL(request_overwrite, true)
31
32/* location to download files to */
33NSOPTION_STRING(downloads_directory, NULL)
34
35/* where to store URL database */
36NSOPTION_STRING(url_file, NULL)
37
38/* Always show tabs even if there is only one */
39NSOPTION_BOOL(show_single_tab, false)
40
41/* size of buttons */
42NSOPTION_INTEGER(button_type, 0)
43
44/* disallow popup windows */
45NSOPTION_BOOL(disable_popups, false)
46
47/* number of days to keep history data */
48NSOPTION_INTEGER(history_age, 0)
49
50/* show urls in local history browser */
51NSOPTION_BOOL(hover_urls, false)
52
53/* bring new tabs to front */
54NSOPTION_BOOL(focus_new, false)
55
56/* new tabs are blank instead of homepage */
57NSOPTION_BOOL(new_blank, false)
58
59/* path to save hotlist file */
60NSOPTION_STRING(hotlist_path, NULL)
61
62/* Developer information viewer display method */
63NSOPTION_INTEGER(developer_view, 0)
64
65/* where tabs are positioned */
66NSOPTION_INTEGER(position_tab, 0)
67
68/* Toolbar customisation */
69NSOPTION_STRING(toolbar_items, NULL)
70
71/* The menu and tool bars that are shown */
72NSOPTION_STRING(bar_show, NULL)
#define NSOPTION_INTEGER(NAME, DEFAULT)
Definition: nsoption.c:54
#define NSOPTION_BOOL(NAME, DEFAULT)
Definition: nsoption.c:48
#define NSOPTION_STRING(NAME, DEFAULT)
Definition: nsoption.c:51