~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
33
33
#include "gimp-intl.h"
34
34
 
35
35
 
36
 
static GimpActionEntry dialogs_actions[] =
 
36
static const GimpActionEntry dialogs_actions[] =
37
37
{
38
38
  { "dialogs-menu",          NULL, N_("_Dialogs")         },
39
39
  { "dialogs-new-dock-menu", NULL, N_("Create New Doc_k") },
40
40
 
41
41
  { "dialogs-new-dock-lcp", NULL,
42
 
    N_("_Layers, Channels & Paths"), NULL, NULL,
 
42
    N_("_Layers, Channels & Paths"), NULL,
 
43
    N_("Open a Layers, Channels & Paths dock"),
43
44
    G_CALLBACK (dialogs_create_lc_cmd_callback),
44
45
    GIMP_HELP_DOCK },
45
46
 
46
47
  { "dialogs-new-dock-data", NULL,
47
 
    N_("_Brushes, Patterns & Gradients"), NULL, NULL,
 
48
    N_("_Brushes, Patterns & Gradients"), NULL,
 
49
    N_("Open a Brushes, Patterns & Gradients dock"),
48
50
    G_CALLBACK (dialogs_create_data_cmd_callback),
49
51
    GIMP_HELP_DOCK },
50
52
 
51
53
  { "dialogs-new-dock-stuff", NULL,
52
 
    N_("_Misc. Stuff"), NULL, NULL,
 
54
    N_("_Misc. Stuff"), NULL,
 
55
    N_("Open a dock containing miscellaneous dialogs"),
53
56
    G_CALLBACK (dialogs_create_stuff_cmd_callback),
54
57
    GIMP_HELP_DOCK },
55
58
 
56
59
  { "dialogs-toolbox", NULL,
57
 
    N_("Tool_box"), NULL, NULL,
 
60
    N_("Tool_box"), "<control>B",
 
61
    N_("Raise the toolbox"),
58
62
    G_CALLBACK (dialogs_show_toolbox_cmd_callback),
59
63
    GIMP_HELP_TOOLBOX }
60
64
};
61
65
 
62
 
GimpStringActionEntry dialogs_dockable_actions[] =
 
66
const GimpStringActionEntry dialogs_dockable_actions[] =
63
67
{
64
68
  { "dialogs-tool-options", GIMP_STOCK_TOOL_OPTIONS,
65
 
    N_("Tool _Options"), "<control><shift>T", NULL,
 
69
    N_("Tool _Options"), NULL,
 
70
    N_("Open the tool options dialog"),
66
71
    "gimp-tool-options",
67
72
    GIMP_HELP_TOOL_OPTIONS_DIALOG },
68
73
 
69
74
  { "dialogs-device-status", GIMP_STOCK_DEVICE_STATUS,
70
 
    N_("_Device Status"), NULL, NULL,
 
75
    N_("_Device Status"), NULL,
 
76
    N_("Open the device status dialog"),
71
77
    "gimp-device-status",
72
78
    GIMP_HELP_DEVICE_STATUS_DIALOG },
73
79
 
74
80
  { "dialogs-layers", GIMP_STOCK_LAYERS,
75
 
    N_("_Layers"), "<control>L", NULL,
 
81
    N_("_Layers"), "<control>L",
 
82
    N_("Open the layers dialog"),
76
83
    "gimp-layer-list",
77
84
    GIMP_HELP_LAYER_DIALOG },
78
85
 
79
86
  { "dialogs-channels", GIMP_STOCK_CHANNELS,
80
 
    N_("_Channels"), NULL, NULL,
 
87
    N_("_Channels"), NULL,
 
88
    N_("Open the channels dialog"),
81
89
    "gimp-channel-list",
82
90
    GIMP_HELP_CHANNEL_DIALOG },
83
91
 
84
92
  { "dialogs-vectors", GIMP_STOCK_PATHS,
85
 
    N_("_Paths"), NULL, NULL,
 
93
    N_("_Paths"), NULL,
 
94
    N_("Open the paths dialog"),
86
95
    "gimp-vectors-list",
87
96
    GIMP_HELP_PATH_DIALOG },
88
97
 
89
 
  { "dialogs-indexed-palette", GIMP_STOCK_INDEXED_PALETTE,
90
 
    N_("Color_map"), NULL, NULL,
 
98
  { "dialogs-indexed-palette", GIMP_STOCK_COLORMAP,
 
99
    N_("Color_map"), NULL,
 
100
    N_("Open the colormap dialog"),
91
101
    "gimp-indexed-palette",
92
102
    GIMP_HELP_INDEXED_PALETTE_DIALOG },
93
103
 
94
104
  { "dialogs-histogram", GIMP_STOCK_HISTOGRAM,
95
 
    N_("Histogra_m"), NULL, NULL,
 
105
    N_("Histogra_m"), NULL,
 
106
    N_("Open the histogram dialog"),
96
107
    "gimp-histogram-editor",
97
108
    GIMP_HELP_HISTOGRAM_DIALOG },
98
109
 
99
110
  { "dialogs-selection-editor", GIMP_STOCK_TOOL_RECT_SELECT,
100
 
    N_("_Selection Editor"), NULL, NULL,
 
111
    N_("_Selection Editor"), NULL,
 
112
    N_("Open the selection editor"),
101
113
    "gimp-selection-editor",
102
114
    GIMP_HELP_SELECTION_DIALOG },
103
115
 
104
116
  { "dialogs-navigation", GIMP_STOCK_NAVIGATION,
105
 
    N_("Na_vigation"), NULL, NULL,
 
117
    N_("Na_vigation"), NULL,
 
118
    N_("Open the display navigation dialog"),
106
119
    "gimp-navigation-view",
107
120
    GIMP_HELP_NAVIGATION_DIALOG },
108
121
 
109
122
  { "dialogs-undo-history", GIMP_STOCK_UNDO_HISTORY,
110
 
    N_("Undo _History"), NULL, NULL,
 
123
    N_("Undo _History"), NULL,
 
124
    N_("Open the undo history dialog"),
111
125
    "gimp-undo-history",
112
126
    GIMP_HELP_UNDO_DIALOG },
113
127
 
 
128
  { "dialogs-cursor", GIMP_STOCK_CURSOR,
 
129
    N_("Pointer"), NULL,
 
130
    N_("Open the pointer information dialog"),
 
131
    "gimp-cursor-view",
 
132
    GIMP_HELP_POINTER_INFO_DIALOG },
 
133
 
 
134
  { "dialogs-sample-points", GIMP_STOCK_SAMPLE_POINT,
 
135
    N_("_Sample Points"), NULL,
 
136
    N_("Open the sample points dialog"),
 
137
    "gimp-sample-point-editor",
 
138
    GIMP_HELP_SAMPLE_POINT_DIALOG },
 
139
 
114
140
  { "dialogs-colors", GIMP_STOCK_DEFAULT_COLORS,
115
 
    N_("Colo_rs"), NULL, NULL,
 
141
    N_("Colo_rs"), NULL,
 
142
    N_("Open the FG/BG color dialog"),
116
143
    "gimp-color-editor",
117
144
    GIMP_HELP_COLOR_DIALOG },
118
145
 
119
146
  { "dialogs-brushes", GIMP_STOCK_BRUSH,
120
 
    N_("_Brushes"), "<control><shift>B", NULL,
 
147
    N_("_Brushes"), "<control><shift>B",
 
148
    N_("Open the brushes dialog"),
121
149
    "gimp-brush-grid|gimp-brush-list",
122
150
    GIMP_HELP_BRUSH_DIALOG },
123
151
 
124
152
  { "dialogs-patterns", GIMP_STOCK_PATTERN,
125
 
    N_("P_atterns"), "<control><shift>P", NULL,
 
153
    N_("P_atterns"), "<control><shift>P",
 
154
    N_("Open the patterns dialog"),
126
155
    "gimp-pattern-grid|gimp-pattern-list",
127
156
    GIMP_HELP_PATTERN_DIALOG },
128
157
 
129
158
  { "dialogs-gradients", GIMP_STOCK_GRADIENT,
130
 
    N_("_Gradients"), "<control>G", NULL,
 
159
    N_("_Gradients"), "<control>G",
 
160
    N_("Open the gradients dialog"),
131
161
    "gimp-gradient-list|gimp-gradient-grid",
132
162
    GIMP_HELP_GRADIENT_DIALOG },
133
163
 
134
164
  { "dialogs-palettes", GIMP_STOCK_PALETTE,
135
 
    N_("Pal_ettes"), "<control>P", NULL,
 
165
    N_("Pal_ettes"), NULL,
 
166
    N_("Open the palettes dialog"),
136
167
    "gimp-palette-list|gimp-palette-grid",
137
168
    GIMP_HELP_PALETTE_DIALOG },
138
169
 
139
170
  { "dialogs-fonts", GIMP_STOCK_FONT,
140
 
    N_("_Fonts"), NULL, NULL,
 
171
    N_("_Fonts"), NULL,
 
172
    N_("Open the fonts dialog"),
141
173
    "gimp-font-list|gimp-font-grid",
142
174
    GIMP_HELP_FONT_DIALOG },
143
175
 
144
176
  { "dialogs-buffers", GIMP_STOCK_BUFFER,
145
 
    N_("B_uffers"), "", NULL,
 
177
    N_("B_uffers"), "",
 
178
    N_("Open the named buffers dialog"),
146
179
    "gimp-buffer-list|gimp-buffer-grid",
147
180
    GIMP_HELP_BUFFER_DIALOG },
148
181
 
149
182
  { "dialogs-images", GIMP_STOCK_IMAGES,
150
 
    N_("_Images"), NULL, NULL,
 
183
    N_("_Images"), NULL,
 
184
    N_("Open the images dialog"),
151
185
    "gimp-image-list|gimp-image-grid",
152
186
    GIMP_HELP_IMAGE_DIALOG },
153
187
 
154
188
  { "dialogs-document-history", GTK_STOCK_OPEN,
155
 
    N_("Document Histor_y"), "", NULL,
 
189
    N_("Document Histor_y"), "",
 
190
    N_("Open the document history dialog"),
156
191
    "gimp-document-list|gimp-document-grid",
157
192
    GIMP_HELP_DOCUMENT_DIALOG },
158
193
 
159
194
  { "dialogs-templates", GIMP_STOCK_TEMPLATE,
160
 
    N_("_Templates"), "", NULL,
 
195
    N_("_Templates"), "",
 
196
    N_("Open the image templates dialog"),
161
197
    "gimp-template-list|gimp-template-grid",
162
198
    GIMP_HELP_TEMPLATE_DIALOG },
163
199
 
164
200
  { "dialogs-tools", GIMP_STOCK_TOOLS,
165
 
    N_("T_ools"), NULL, NULL,
 
201
    N_("T_ools"), NULL,
 
202
    N_("Open the tools dialog"),
166
203
    "gimp-tool-list|gimp-tool-grid",
167
204
    GIMP_HELP_TOOLS_DIALOG },
168
205
 
169
206
  { "dialogs-error-console", GIMP_STOCK_WARNING,
170
 
    N_("Error Co_nsole"), NULL, NULL,
 
207
    N_("Error Co_nsole"), NULL,
 
208
    N_("Open the error console"),
171
209
    "gimp-error-console",
172
210
    GIMP_HELP_ERRORS_DIALOG }
173
211
};
174
212
 
175
213
gint n_dialogs_dockable_actions = G_N_ELEMENTS (dialogs_dockable_actions);
176
214
 
177
 
static GimpStringActionEntry dialogs_toplevel_actions[] =
 
215
static const GimpStringActionEntry dialogs_toplevel_actions[] =
178
216
{
179
217
  { "dialogs-preferences", GTK_STOCK_PREFERENCES,
180
 
    N_("_Preferences"), NULL, NULL,
 
218
    N_("_Preferences"), NULL,
 
219
    N_("Open the preferences dialog"),
181
220
    "gimp-preferences-dialog",
182
221
    GIMP_HELP_PREFS_DIALOG },
183
222
 
 
223
  { "dialogs-keyboard-shortcuts", GIMP_STOCK_CHAR_PICKER,
 
224
    N_("_Keyboard Shortcuts"), NULL,
 
225
    N_("Open the keyboard shortcuts editor"),
 
226
    "gimp-keyboard-shortcuts-dialog",
 
227
    GIMP_HELP_KEYBOARD_SHORTCUTS },
 
228
 
184
229
  { "dialogs-module-dialog", GTK_STOCK_EXECUTE,
185
 
    N_("_Module Manager"), NULL, NULL,
 
230
    N_("_Module Manager"), NULL,
 
231
    N_("Open the module manager dialog"),
186
232
    "gimp-module-dialog",
187
233
    GIMP_HELP_MODULE_DIALOG },
188
234
 
189
235
  { "dialogs-tips", GIMP_STOCK_INFO,
190
 
    N_("_Tip of the Day"), NULL, NULL,
 
236
    N_("_Tip of the Day"), NULL,
 
237
    N_("Show the tip of the day"),
191
238
    "gimp-tips-dialog",
192
239
    GIMP_HELP_TIPS_DIALOG },
193
240
 
194
 
  { "dialogs-about", GIMP_STOCK_WILBER,
195
 
    N_("_About"), NULL, NULL,
 
241
  { "dialogs-about", GTK_STOCK_ABOUT,
 
242
    N_("_About"), NULL,
 
243
    N_("About GIMP"),
196
244
    "gimp-about-dialog",
197
245
    GIMP_HELP_ABOUT_DIALOG }
198
246
};