1
1
/* GIMP - The GNU Image Manipulation Program
2
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
4
* This program is free software; you can redistribute it and/or modify
4
* This program is free software: you can redistribute it and/or modify
5
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
6
* the Free Software Foundation; either version 3 of the License, or
7
7
* (at your option) any later version.
9
9
* This program is distributed in the hope that it will be useful,
12
12
* GNU General Public License for more details.
14
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
18
#include "config.h"
36
35
static const GimpActionEntry help_actions[] =
38
{ "help-menu", NULL, N_("_Help") },
37
{ "help-menu", NULL, NC_("help-action", "_Help") },
40
39
{ "help-help", GTK_STOCK_HELP,
42
N_("Open the GIMP user manual"),
40
NC_("help-action", "_Help"), "F1",
41
NC_("help-action", "Open the GIMP user manual"),
43
42
G_CALLBACK (help_help_cmd_callback),
46
45
{ "help-context-help", GTK_STOCK_HELP,
47
N_("_Context Help"), "<shift>F1",
48
N_("Show the help for a specific user interface item"),
46
NC_("help-action", "_Context Help"), "<shift>F1",
47
NC_("help-action", "Show the help for a specific user interface item"),
49
48
G_CALLBACK (help_context_help_cmd_callback),
50
49
GIMP_HELP_HELP_CONTEXT }
55
54
help_actions_setup (GimpActionGroup *group)
57
gimp_action_group_add_actions (group,
56
gimp_action_group_add_actions (group, "help-action",
59
58
G_N_ELEMENTS (help_actions));