Remove unnecessary case statement braces.
[geany-mirror.git] / src / prefs.h
blob4e59cfda2a409dd8ffe30b1092e543f0469e0f44
1 /*
2 * prefs.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2006-2009 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef GEANY_PREFS_H
25 #define GEANY_PREFS_H 1
27 /* General Preferences dialog settings. */
28 typedef struct GeanyPrefs
30 gboolean load_session;
31 gboolean load_plugins;
32 gboolean save_winpos;
33 gboolean confirm_exit;
34 gboolean beep_on_errors;
35 gboolean suppress_status_messages;
36 gboolean switch_to_status;
37 gboolean auto_focus;
38 gchar *default_open_path;
39 gchar *custom_plugin_path;
41 GeanyPrefs;
43 extern GeanyPrefs prefs;
46 typedef struct GeanyToolPrefs
48 gchar *browser_cmd;
49 gchar *term_cmd;
50 gchar *grep_cmd;
51 gchar *context_action_cmd;
53 GeanyToolPrefs;
55 extern GeanyToolPrefs tool_prefs;
58 void prefs_show_dialog(void);
60 void on_prefs_font_choosed(GtkFontButton *widget, gpointer user_data);
62 void on_prefs_color_choosed(GtkColorButton *widget, gpointer user_data);
64 void on_prefs_tools_button_clicked(GtkButton *button, gpointer user_data);
66 #endif