~ubuntu-branches/ubuntu/vivid/gimp/vivid

« back to all changes in this revision

Viewing changes to app/actions/help-actions.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-08 18:50:03 UTC
  • mto: (1.1.26) (0.5.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: package-import@ubuntu.com-20120508185003-tltkvbaysf8d2426
ImportĀ upstreamĀ versionĀ 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
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.
8
8
 *
9
9
 * This program is distributed in the hope that it will be useful,
12
12
 * GNU General Public License for more details.
13
13
 *
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/>.
17
16
 */
18
17
 
19
18
#include "config.h"
35
34
 
36
35
static const GimpActionEntry help_actions[] =
37
36
{
38
 
  { "help-menu", NULL, N_("_Help") },
 
37
  { "help-menu", NULL, NC_("help-action", "_Help") },
39
38
 
40
39
  { "help-help", GTK_STOCK_HELP,
41
 
    N_("_Help"), "F1",
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),
44
43
    GIMP_HELP_HELP },
45
44
 
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 }
51
50
};
54
53
void
55
54
help_actions_setup (GimpActionGroup *group)
56
55
{
57
 
  gimp_action_group_add_actions (group,
 
56
  gimp_action_group_add_actions (group, "help-action",
58
57
                                 help_actions,
59
58
                                 G_N_ELEMENTS (help_actions));
60
59
}