annotate src/compat.h @ 737:8a8873e7a552

Make shell command and its option rc file options instead of hardcoded strings. This allows users to modify the shell command that execute "editors". Two new options appear in rc file: - shell.path (default to "/bin/sh") - shell.options (default to "-c") These options can only be changed from the rc file, not at runtime. Tests are made to check that shell.path is not empty and lead to an executable file.
author zas_
date Thu, 22 May 2008 20:22:13 +0000
parents 48c8e49b571c
children 1646720364cf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
1 /*
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
2 * Geeqie
475
48c8e49b571c updated copyright in source files
nadvornik
parents: 457
diff changeset
3 * Copyright (C) 2008 The Geeqie Team
457
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
4 *
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
5 * Authors: Vladimir Nadvornik / Laurent Monin
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
6 *
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
7 *
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
9 * Please read the included file COPYING for more information.
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
11 */
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
12
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
13 #ifndef COMPAT_H
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
14 #define COMPAT_H
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
15
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
16 void radio_action_set_current_value(GtkRadioAction *action, gint current_value);
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
17
5e9c24d3b3a8 Add a replacement for gtk_radio_action_set_current_value() which
zas_
parents:
diff changeset
18 #endif /* COMPAT_H */