app/actions/dialogs-actions.c app/actions/dock-actions.c

2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/dialogs-actions.c
	* app/actions/dock-actions.c
	* app/actions/edit-actions.c
	* app/actions/file-actions.c
	* app/actions/help-actions.c
	* app/actions/layers-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/tools-actions.c
	* app/actions/vectors-actions.c
	* app/actions/view-actions.c
	* app/actions/window-actions.c: add many missing action tooltips
	and fixed some broken/inconsistent ones. Sorry for the big string
	change but the inconsistenties were just too big to ship 2.4 like
	that.


svn path=/trunk/; revision=22204
This commit is contained in:
Michael Natterer 2007-03-31 11:38:47 +00:00 committed by Michael Natterer
parent 16e7070e3f
commit 6fd436f9cb
12 changed files with 184 additions and 85 deletions

View File

@ -1,3 +1,20 @@
2007-03-31 Michael Natterer <mitch@gimp.org>
* app/actions/dialogs-actions.c
* app/actions/dock-actions.c
* app/actions/edit-actions.c
* app/actions/file-actions.c
* app/actions/help-actions.c
* app/actions/layers-actions.c
* app/actions/plug-in-actions.c
* app/actions/tools-actions.c
* app/actions/vectors-actions.c
* app/actions/view-actions.c
* app/actions/window-actions.c: add many missing action tooltips
and fixed some broken/inconsistent ones. Sorry for the big string
change but the inconsistenties were just too big to ship 2.4 like
that.
2007-03-30 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs.c: hardcode the result of

View File

@ -39,22 +39,26 @@ static const GimpActionEntry dialogs_actions[] =
{ "dialogs-new-dock-menu", NULL, N_("Create New Doc_k") },
{ "dialogs-new-dock-lcp", NULL,
N_("_Layers, Channels & Paths"), NULL, NULL,
N_("_Layers, Channels & Paths"), NULL,
N_("Open a Layers, Channels & Paths dock"),
G_CALLBACK (dialogs_create_lc_cmd_callback),
GIMP_HELP_DOCK },
{ "dialogs-new-dock-data", NULL,
N_("_Brushes, Patterns & Gradients"), NULL, NULL,
N_("_Brushes, Patterns & Gradients"), NULL,
N_("Open a Brushes, Patterns & Gradients dock"),
G_CALLBACK (dialogs_create_data_cmd_callback),
GIMP_HELP_DOCK },
{ "dialogs-new-dock-stuff", NULL,
N_("_Misc. Stuff"), NULL, NULL,
N_("_Misc. Stuff"), NULL,
N_("Open a dock containing miscellaneous dialogs"),
G_CALLBACK (dialogs_create_stuff_cmd_callback),
GIMP_HELP_DOCK },
{ "dialogs-toolbox", NULL,
N_("Tool_box"), "<control>B", NULL,
N_("Tool_box"), "<control>B",
N_("Raise the toolbox"),
G_CALLBACK (dialogs_show_toolbox_cmd_callback),
GIMP_HELP_TOOLBOX }
};
@ -62,122 +66,146 @@ static const GimpActionEntry dialogs_actions[] =
const GimpStringActionEntry dialogs_dockable_actions[] =
{
{ "dialogs-tool-options", GIMP_STOCK_TOOL_OPTIONS,
N_("Tool _Options"), NULL, N_("Tool Options"),
N_("Tool _Options"), NULL,
N_("Open the tool options dialog"),
"gimp-tool-options",
GIMP_HELP_TOOL_OPTIONS_DIALOG },
{ "dialogs-device-status", GIMP_STOCK_DEVICE_STATUS,
N_("_Device Status"), NULL, N_("Device Status"),
N_("_Device Status"), NULL,
N_("Open the device status dialog"),
"gimp-device-status",
GIMP_HELP_DEVICE_STATUS_DIALOG },
{ "dialogs-layers", GIMP_STOCK_LAYERS,
N_("_Layers"), "<control>L", N_("Layers"),
N_("_Layers"), "<control>L",
N_("Open the layers dialog"),
"gimp-layer-list",
GIMP_HELP_LAYER_DIALOG },
{ "dialogs-channels", GIMP_STOCK_CHANNELS,
N_("_Channels"), NULL, N_("Channels"),
N_("_Channels"), NULL,
N_("Open the channels dialog"),
"gimp-channel-list",
GIMP_HELP_CHANNEL_DIALOG },
{ "dialogs-vectors", GIMP_STOCK_PATHS,
N_("_Paths"), NULL, N_("Paths"),
N_("_Paths"), NULL,
N_("Open the paths dialog"),
"gimp-vectors-list",
GIMP_HELP_PATH_DIALOG },
{ "dialogs-indexed-palette", GIMP_STOCK_COLORMAP,
N_("Color_map"), NULL, N_("Colormap"),
N_("Color_map"), NULL,
N_("Open the colormap dialog"),
"gimp-indexed-palette",
GIMP_HELP_INDEXED_PALETTE_DIALOG },
{ "dialogs-histogram", GIMP_STOCK_HISTOGRAM,
N_("Histogra_m"), NULL, N_("Histogram"),
N_("Histogra_m"), NULL,
N_("Open the histogram dialog"),
"gimp-histogram-editor",
GIMP_HELP_HISTOGRAM_DIALOG },
{ "dialogs-selection-editor", GIMP_STOCK_TOOL_RECT_SELECT,
N_("_Selection Editor"), NULL, N_("Selection Editor"),
N_("_Selection Editor"), NULL,
N_("Open the selection editor"),
"gimp-selection-editor",
GIMP_HELP_SELECTION_DIALOG },
{ "dialogs-navigation", GIMP_STOCK_NAVIGATION,
N_("Na_vigation"), NULL, N_("Display Navigation"),
N_("Na_vigation"), NULL,
N_("Open the display navigation dialog"),
"gimp-navigation-view",
GIMP_HELP_NAVIGATION_DIALOG },
{ "dialogs-undo-history", GIMP_STOCK_UNDO_HISTORY,
N_("Undo _History"), NULL, N_("Undo History"),
N_("Undo _History"), NULL,
N_("Open the undo history dialog"),
"gimp-undo-history",
GIMP_HELP_UNDO_DIALOG },
{ "dialogs-cursor", GIMP_STOCK_CURSOR,
N_("Pointer"), NULL, N_("Pointer Information"),
N_("Pointer"), NULL,
N_("Open the pointer information dialog"),
"gimp-cursor-view",
GIMP_HELP_POINTER_INFO_DIALOG },
{ "dialogs-sample-points", GIMP_STOCK_SAMPLE_POINT,
N_("_Sample Points"), NULL, N_("Sample Points"),
N_("_Sample Points"), NULL,
N_("Open the sample points dialog"),
"gimp-sample-point-editor",
GIMP_HELP_SAMPLE_POINT_DIALOG },
{ "dialogs-colors", GIMP_STOCK_DEFAULT_COLORS,
N_("Colo_rs"), NULL, N_("FG/BG Color"),
N_("Colo_rs"), NULL,
N_("Open the FG/BG color dialog"),
"gimp-color-editor",
GIMP_HELP_COLOR_DIALOG },
{ "dialogs-brushes", GIMP_STOCK_BRUSH,
N_("_Brushes"), "<control><shift>B", N_("Brushes"),
N_("_Brushes"), "<control><shift>B",
N_("Open the brushes dialog"),
"gimp-brush-grid|gimp-brush-list",
GIMP_HELP_BRUSH_DIALOG },
{ "dialogs-patterns", GIMP_STOCK_PATTERN,
N_("P_atterns"), "<control><shift>P", N_("Patterns"),
N_("P_atterns"), "<control><shift>P",
N_("Open the patterns dialog"),
"gimp-pattern-grid|gimp-pattern-list",
GIMP_HELP_PATTERN_DIALOG },
{ "dialogs-gradients", GIMP_STOCK_GRADIENT,
N_("_Gradients"), "<control>G", N_("Gradients"),
N_("_Gradients"), "<control>G",
N_("Open the gradients dialog"),
"gimp-gradient-list|gimp-gradient-grid",
GIMP_HELP_GRADIENT_DIALOG },
{ "dialogs-palettes", GIMP_STOCK_PALETTE,
N_("Pal_ettes"), NULL, N_("Palettes"),
N_("Pal_ettes"), NULL,
N_("Open the palettes dialog"),
"gimp-palette-list|gimp-palette-grid",
GIMP_HELP_PALETTE_DIALOG },
{ "dialogs-fonts", GIMP_STOCK_FONT,
N_("_Fonts"), NULL, N_("Fonts"),
N_("_Fonts"), NULL,
N_("Open the fonts dialog"),
"gimp-font-list|gimp-font-grid",
GIMP_HELP_FONT_DIALOG },
{ "dialogs-buffers", GIMP_STOCK_BUFFER,
N_("B_uffers"), "", N_("Buffers"),
N_("B_uffers"), "",
N_("Open the named buffers dialog"),
"gimp-buffer-list|gimp-buffer-grid",
GIMP_HELP_BUFFER_DIALOG },
{ "dialogs-images", GIMP_STOCK_IMAGES,
N_("_Images"), NULL, N_("Images"),
N_("_Images"), NULL,
N_("Open the images dialog"),
"gimp-image-list|gimp-image-grid",
GIMP_HELP_IMAGE_DIALOG },
{ "dialogs-document-history", GTK_STOCK_OPEN,
N_("Document Histor_y"), "", N_("Document History"),
N_("Document Histor_y"), "",
N_("Open the document history dialog"),
"gimp-document-list|gimp-document-grid",
GIMP_HELP_DOCUMENT_DIALOG },
{ "dialogs-templates", GIMP_STOCK_TEMPLATE,
N_("_Templates"), "", N_("Image Templates"),
N_("_Templates"), "",
N_("Open the image templates dialog"),
"gimp-template-list|gimp-template-grid",
GIMP_HELP_TEMPLATE_DIALOG },
{ "dialogs-tools", GIMP_STOCK_TOOLS,
N_("T_ools"), NULL, N_("Tools"),
N_("T_ools"), NULL,
N_("Open the tools dialog"),
"gimp-tool-list|gimp-tool-grid",
GIMP_HELP_TOOLS_DIALOG },
{ "dialogs-error-console", GIMP_STOCK_WARNING,
N_("Error Co_nsole"), NULL, N_("Error Console"),
N_("Error Co_nsole"), NULL,
N_("Open the error console"),
"gimp-error-console",
GIMP_HELP_ERRORS_DIALOG }
};
@ -187,27 +215,32 @@ gint n_dialogs_dockable_actions = G_N_ELEMENTS (dialogs_dockable_actions);
static const GimpStringActionEntry dialogs_toplevel_actions[] =
{
{ "dialogs-preferences", GTK_STOCK_PREFERENCES,
N_("_Preferences"), NULL, NULL,
N_("_Preferences"), NULL,
N_("Open the preferences dialog"),
"gimp-preferences-dialog",
GIMP_HELP_PREFS_DIALOG },
{ "dialogs-keyboard-shortcuts", GIMP_STOCK_CHAR_PICKER,
N_("_Keyboard Shortcuts"), NULL, NULL,
N_("_Keyboard Shortcuts"), NULL,
N_("Open the keyboard shortcuts editor"),
"gimp-keyboard-shortcuts-dialog",
GIMP_HELP_KEYBOARD_SHORTCUTS },
{ "dialogs-module-dialog", GTK_STOCK_EXECUTE,
N_("_Module Manager"), NULL, NULL,
N_("_Module Manager"), NULL,
N_("Open the module manager dialog"),
"gimp-module-dialog",
GIMP_HELP_MODULE_DIALOG },
{ "dialogs-tips", GIMP_STOCK_INFO,
N_("_Tip of the Day"), NULL, NULL,
N_("_Tip of the Day"), NULL,
N_("Show the tip of the day"),
"gimp-tips-dialog",
GIMP_HELP_TIPS_DIALOG },
{ "dialogs-about", GTK_STOCK_ABOUT,
N_("_About"), NULL, NULL,
N_("_About"), NULL,
N_("About GIMP"),
"gimp-about-dialog",
GIMP_HELP_ABOUT_DIALOG }
};

View File

@ -49,7 +49,8 @@ static const GimpActionEntry dock_actions[] =
GIMP_HELP_DOCK_CLOSE },
{ "dock-open-display", NULL,
N_("_Open Display..."), NULL, NULL,
N_("_Open Display..."), NULL,
N_("Connect to another display"),
G_CALLBACK (window_open_display_cmd_callback),
NULL }
};

View File

@ -99,7 +99,8 @@ static const GimpActionEntry edit_actions[] =
GIMP_HELP_EDIT_UNDO_CLEAR },
{ "edit-fade", GTK_STOCK_UNDO,
N_("_Fade..."), "", NULL,
N_("_Fade..."), "",
N_("Modify paint mode and opacity of the last pixel manipulation"),
G_CALLBACK (edit_fade_cmd_callback),
GIMP_HELP_EDIT_FADE },
@ -146,22 +147,26 @@ static const GimpActionEntry edit_actions[] =
GIMP_HELP_EDIT_PASTE_AS_NEW },
{ "edit-named-cut", GTK_STOCK_CUT,
N_("Cu_t Named..."), "<control><shift>X",NULL,
N_("Cu_t Named..."), "<control><shift>X",
N_("Move the selected pixels to a named buffer"),
G_CALLBACK (edit_named_cut_cmd_callback),
GIMP_HELP_BUFFER_CUT },
{ "edit-named-copy", GTK_STOCK_COPY,
N_("_Copy Named..."), "<control><shift>C", NULL,
N_("_Copy Named..."), "<control><shift>C",
N_("Copy the selected pixels to a named buffer"),
G_CALLBACK (edit_named_copy_cmd_callback),
GIMP_HELP_BUFFER_COPY },
{ "edit-named-copy-visible", NULL, /* GIMP_STOCK_COPY_VISIBLE, */
N_("Copy _Visible Named..."), "", NULL,
N_("Copy _Visible Named..."), "",
N_("Copy the selected region to a named buffer"),
G_CALLBACK (edit_named_copy_visible_cmd_callback),
GIMP_HELP_BUFFER_COPY },
{ "edit-named-paste", GTK_STOCK_PASTE,
N_("_Paste Named..."), "<control><shift>V", NULL,
N_("_Paste Named..."), "<control><shift>V",
N_("Paste the content of a named buffer"),
G_CALLBACK (edit_named_paste_cmd_callback),
GIMP_HELP_BUFFER_PASTE },

View File

@ -66,17 +66,20 @@ static const GimpActionEntry file_actions[] =
{ "file-acquire-menu", NULL, N_("Acq_uire") },
{ "file-open", GTK_STOCK_OPEN,
N_("_Open..."), NULL, NULL,
N_("_Open..."), NULL,
N_("Open an image file"),
G_CALLBACK (file_open_cmd_callback),
GIMP_HELP_FILE_OPEN },
{ "file-open-as-layers", GIMP_STOCK_LAYER,
N_("Op_en as Layers..."), "<control><alt>O", NULL,
N_("Op_en as Layers..."), "<control><alt>O",
N_("Open an image file as layers"),
G_CALLBACK (file_open_as_layers_cmd_callback),
GIMP_HELP_FILE_OPEN_AS_LAYER },
{ "file-open-location", GIMP_STOCK_WEB,
N_("Open _Location..."), NULL, NULL,
N_("Open _Location..."), NULL,
N_("Open an image file from a specified location"),
G_CALLBACK (file_open_location_cmd_callback),
GIMP_HELP_FILE_OPEN_LOCATION },
@ -108,22 +111,26 @@ static const GimpActionEntry file_actions[] =
static const GimpEnumActionEntry file_save_actions[] =
{
{ "file-save", GTK_STOCK_SAVE,
N_("_Save"), "<control>S", NULL,
N_("_Save"), "<control>S",
N_("Save this image"),
GIMP_SAVE_MODE_SAVE, FALSE,
GIMP_HELP_FILE_SAVE },
{ "file-save-as", GTK_STOCK_SAVE_AS,
N_("Save _As..."), "<control><shift>S", NULL,
N_("Save _As..."), "<control><shift>S",
N_("Save this image with a different name"),
GIMP_SAVE_MODE_SAVE_AS, FALSE,
GIMP_HELP_FILE_SAVE_AS },
{ "file-save-a-copy", NULL,
N_("Save a Cop_y..."), NULL, NULL,
N_("Save a Cop_y..."), NULL,
N_("Save this image with a different name, but keep its current name"),
GIMP_SAVE_MODE_SAVE_A_COPY, FALSE,
GIMP_HELP_FILE_SAVE_A_COPY },
{ "file-save-and-close", NULL,
N_("Save and Close..."), NULL, NULL,
N_("Save and Close..."), NULL,
N_("Save this image and close its window"),
GIMP_SAVE_MODE_SAVE_AND_CLOSE, FALSE,
GIMP_HELP_FILE_SAVE }
};

View File

@ -38,12 +38,14 @@ static const GimpActionEntry help_actions[] =
{ "help-menu", NULL, N_("_Help") },
{ "help-help", GTK_STOCK_HELP,
N_("_Help"), "F1", NULL,
N_("_Help"), "F1",
N_("Open the GIMP user manual"),
G_CALLBACK (help_help_cmd_callback),
GIMP_HELP_HELP },
{ "help-context-help", GTK_STOCK_HELP,
N_("_Context Help"), "<shift>F1", NULL,
N_("_Context Help"), "<shift>F1",
N_("Show the help for a specific user interface item"),
G_CALLBACK (help_context_help_cmd_callback),
GIMP_HELP_HELP_CONTEXT }
};

View File

@ -332,22 +332,26 @@ static const GimpEnumActionEntry layers_text_to_selection_actions[] =
static const GimpEnumActionEntry layers_select_actions[] =
{
{ "layers-select-top", NULL,
N_("Select _Top Layer"), "Home", NULL,
N_("Select _Top Layer"), "Home",
N_("Select the topmost layer"),
GIMP_ACTION_SELECT_FIRST, FALSE,
GIMP_HELP_LAYER_TOP },
{ "layers-select-bottom", NULL,
N_("Select _Bottom Layer"), "End", NULL,
N_("Select _Bottom Layer"), "End",
N_("Select the bottommost layer"),
GIMP_ACTION_SELECT_LAST, FALSE,
GIMP_HELP_LAYER_BOTTOM },
{ "layers-select-previous", NULL,
N_("Select _Previous Layer"), "Prior", NULL,
N_("Select _Previous Layer"), "Prior",
N_("Select the layer above the current layer"),
GIMP_ACTION_SELECT_PREVIOUS, FALSE,
GIMP_HELP_LAYER_PREVIOUS },
{ "layers-select-next", NULL,
N_("Select _Next Layer"), "Next", NULL,
N_("Select _Next Layer"), "Next",
N_("Select the layer below the current layer"),
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_LAYER_NEXT }
};

View File

@ -101,7 +101,7 @@ static const GimpActionEntry plug_in_actions[] =
{ "plug-in-reset-all", GIMP_STOCK_RESET,
N_("Reset all _Filters"), NULL,
N_("Set all plug-in to their default settings"),
N_("Reset all plug-ins to their default settings"),
G_CALLBACK (plug_in_reset_all_cmd_callback),
GIMP_HELP_FILTER_RESET_ALL }
};

View File

@ -96,12 +96,14 @@ static const GimpToggleActionEntry tools_toggle_actions[] =
static const GimpStringActionEntry tools_alternative_actions[] =
{
{ "tools-by-color-select-short", GIMP_STOCK_TOOL_BY_COLOR_SELECT,
N_("_By Color"), NULL, NULL,
N_("_By Color"), NULL,
N_("Select regions with similar colors"),
"gimp-by-color-select-tool",
GIMP_HELP_TOOL_BY_COLOR_SELECT },
{ "tools-rotate-arbitrary", GIMP_STOCK_TOOL_ROTATE,
N_("_Arbitrary Rotation..."), "", NULL,
N_("_Arbitrary Rotation..."), "",
N_("Rotate by an arbitrary angle"),
"gimp-rotate-layer",
GIMP_HELP_TOOL_ROTATE }
};

View File

@ -110,13 +110,13 @@ static const GimpActionEntry vectors_actions[] =
{ "vectors-stroke", GIMP_STOCK_PATH_STROKE,
N_("Stro_ke Path..."), NULL,
N_("Stroke path..."),
N_("Paint along the path"),
G_CALLBACK (vectors_stroke_cmd_callback),
GIMP_HELP_PATH_STROKE },
{ "vectors-stroke-last-values", GIMP_STOCK_PATH_STROKE,
N_("Stro_ke Path"), NULL,
N_("Stroke path with last values"),
N_("Paint along the path with last values"),
G_CALLBACK (vectors_stroke_last_vals_cmd_callback),
GIMP_HELP_PATH_STROKE },
@ -197,7 +197,8 @@ static const GimpEnumActionEntry vectors_selection_to_vectors_actions[] =
GIMP_HELP_SELECTION_TO_PATH },
{ "vectors-selection-to-vectors-short", GIMP_STOCK_SELECTION_TO_PATH,
N_("To _Path"), NULL, NULL,
N_("To _Path"), NULL,
N_("Selection to path"),
FALSE, FALSE,
GIMP_HELP_SELECTION_TO_PATH },

View File

@ -150,67 +150,78 @@ static const GimpToggleActionEntry view_toggle_actions[] =
GIMP_HELP_VIEW_SHOW_LAYER_BOUNDARY },
{ "view-show-guides", NULL,
N_("Show _Guides"), "<control><shift>T", NULL,
N_("Show _Guides"), "<control><shift>T",
N_("Display the image's guides"),
G_CALLBACK (view_toggle_guides_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SHOW_GUIDES },
{ "view-show-grid", NULL,
N_("S_how Grid"), NULL, NULL,
N_("S_how Grid"), NULL,
N_("Display the image's grid"),
G_CALLBACK (view_toggle_grid_cmd_callback),
FALSE,
GIMP_HELP_VIEW_SHOW_GRID },
{ "view-show-sample-points", NULL,
N_("Show Sample Points"), NULL, NULL,
N_("Show Sample Points"), NULL,
N_("Display the image's color sample points"),
G_CALLBACK (view_toggle_sample_points_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SHOW_SAMPLE_POINTS },
{ "view-snap-to-guides", NULL,
N_("Sn_ap to Guides"), NULL, NULL,
N_("Sn_ap to Guides"), NULL,
N_("Tool operations snap to guides"),
G_CALLBACK (view_snap_to_guides_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SNAP_TO_GUIDES },
{ "view-snap-to-grid", NULL,
N_("Sna_p to Grid"), NULL, NULL,
N_("Sna_p to Grid"), NULL,
N_("Tool operations snap to the grid"),
G_CALLBACK (view_snap_to_grid_cmd_callback),
FALSE,
GIMP_HELP_VIEW_SNAP_TO_GRID },
{ "view-snap-to-canvas", NULL,
N_("Snap to _Canvas Edges"), NULL, NULL,
N_("Snap to _Canvas Edges"), NULL,
N_("Tool operations snap to the canvas edges"),
G_CALLBACK (view_snap_to_canvas_cmd_callback),
FALSE,
GIMP_HELP_VIEW_SNAP_TO_CANVAS },
{ "view-snap-to-vectors", NULL,
N_("Snap t_o Active Path"), NULL, NULL,
N_("Snap t_o Active Path"), NULL,
N_("Tool operations snap to the active path"),
G_CALLBACK (view_snap_to_vectors_cmd_callback),
FALSE,
GIMP_HELP_VIEW_SNAP_TO_VECTORS },
{ "view-show-menubar", NULL,
N_("Show _Menubar"), NULL, NULL,
N_("Show _Menubar"), NULL,
N_("Show this window's menubar"),
G_CALLBACK (view_toggle_menubar_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SHOW_MENUBAR },
{ "view-show-rulers", NULL,
N_("Show R_ulers"), "<control><shift>R", NULL,
N_("Show R_ulers"), "<control><shift>R",
N_("Show this window's rulers"),
G_CALLBACK (view_toggle_rulers_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SHOW_RULERS },
{ "view-show-scrollbars", NULL,
N_("Show Scroll_bars"), NULL, NULL,
N_("Show Scroll_bars"), NULL,
N_("Show this window's scrollbars"),
G_CALLBACK (view_toggle_scrollbars_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SHOW_SCROLLBARS },
{ "view-show-statusbar", NULL,
N_("Show S_tatusbar"), NULL, NULL,
N_("Show S_tatusbar"), NULL,
N_("Show this window's statusbar"),
G_CALLBACK (view_toggle_statusbar_cmd_callback),
TRUE,
GIMP_HELP_VIEW_SHOW_STATUSBAR },
@ -259,7 +270,7 @@ static const GimpEnumActionEntry view_zoom_actions[] =
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-in-accel", GIMP_STOCK_CHAR_PICKER,
N_("Zoom in"), "KP_Add",
N_("Zoom In"), "KP_Add",
N_("Zoom in"),
GIMP_ACTION_SELECT_NEXT, FALSE,
GIMP_HELP_VIEW_ZOOM_IN },
@ -278,22 +289,26 @@ static const GimpEnumActionEntry view_zoom_actions[] =
static const GimpRadioActionEntry view_zoom_explicit_actions[] =
{
{ "view-zoom-16-1", NULL,
N_("1_6:1 (1600%)"), NULL, NULL,
N_("1_6:1 (1600%)"), NULL,
N_("Zoom 16:1"),
160000,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-8-1", NULL,
N_("_8:1 (800%)"), NULL, NULL,
N_("_8:1 (800%)"), NULL,
N_("Zoom 8:1"),
80000,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-4-1", NULL,
N_("_4:1 (400%)"), NULL, NULL,
N_("_4:1 (400%)"), NULL,
N_("Zoom 4:1"),
40000,
GIMP_HELP_VIEW_ZOOM_IN },
{ "view-zoom-2-1", NULL,
N_("_2:1 (200%)"), NULL, NULL,
N_("_2:1 (200%)"), NULL,
N_("Zoom 1:1"),
20000,
GIMP_HELP_VIEW_ZOOM_IN },
@ -304,27 +319,32 @@ static const GimpRadioActionEntry view_zoom_explicit_actions[] =
GIMP_HELP_VIEW_ZOOM_100 },
{ "view-zoom-1-2", NULL,
N_("1:_2 (50%)"), NULL, NULL,
N_("1:_2 (50%)"), NULL,
N_("Zoom 1:2"),
5000,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-1-4", NULL,
N_("1:_4 (25%)"), NULL, NULL,
N_("1:_4 (25%)"), NULL,
N_("Zoom 1:4"),
2500,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-1-8", NULL,
N_("1:_8 (12.5%)"), NULL, NULL,
N_("1:_8 (12.5%)"), NULL,
N_("Zoom 1:8"),
1250,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-1-16", NULL,
N_("1:1_6 (6.25%)"), NULL, NULL,
N_("1:1_6 (6.25%)"), NULL,
N_("Zoom 1:16"),
625,
GIMP_HELP_VIEW_ZOOM_OUT },
{ "view-zoom-other", NULL,
N_("Othe_r..."), NULL, NULL,
N_("Othe_r..."), NULL,
N_("Set a custom zoom factor"),
0,
GIMP_HELP_VIEW_ZOOM_OTHER }
};
@ -332,27 +352,32 @@ static const GimpRadioActionEntry view_zoom_explicit_actions[] =
static const GimpEnumActionEntry view_padding_color_actions[] =
{
{ "view-padding-color-theme", NULL,
N_("From _Theme"), NULL, NULL,
N_("From _Theme"), NULL,
N_("Use the current theme's background color"),
GIMP_CANVAS_PADDING_MODE_DEFAULT, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR },
{ "view-padding-color-light-check", NULL,
N_("_Light Check Color"), NULL, NULL,
N_("_Light Check Color"), NULL,
N_("Use the light check color"),
GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR },
{ "view-padding-color-dark-check", NULL,
N_("_Dark Check Color"), NULL, NULL,
N_("_Dark Check Color"), NULL,
N_("Use the dark check color"),
GIMP_CANVAS_PADDING_MODE_DARK_CHECK, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR },
{ "view-padding-color-custom", GTK_STOCK_SELECT_COLOR,
N_("Select _Custom Color..."), NULL, NULL,
N_("Select _Custom Color..."), NULL,
N_("Use an arbitrary color"),
GIMP_CANVAS_PADDING_MODE_CUSTOM, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR },
{ "view-padding-color-prefs", GIMP_STOCK_RESET,
N_("As in _Preferences"), NULL, NULL,
N_("As in _Preferences"), NULL,
N_("Reset padding color to what's configured in preferences"),
GIMP_CANVAS_PADDING_MODE_RESET, FALSE,
GIMP_HELP_VIEW_PADDING_COLOR }
};

View File

@ -167,7 +167,8 @@ window_actions_display_opened (GdkDisplayManager *manager,
entries[i].stock_id = GIMP_STOCK_MOVE_TO_SCREEN;
entries[i].label = g_strdup_printf (_("Screen %s"), screen_name);
entries[i].accelerator = NULL;
entries[i].tooltip = NULL;
entries[i].tooltip = g_strdup_printf (_("Move this window to "
"screen %s"), screen_name);
entries[i].value = g_quark_from_string (screen_name);
entries[i].help_id = help_id;
@ -193,6 +194,7 @@ window_actions_display_opened (GdkDisplayManager *manager,
g_object_set_data (G_OBJECT (action), "screen", screen);
g_free ((gchar *) entries[i].name);
g_free ((gchar *) entries[i].tooltip);
g_free ((gchar *) entries[i].label);
}