icons: lazy fixes for icons in the Help menu

It appears that GTK+/GNOME don't have an icon with
"help-browser" ID anymore, but we have exactly the icon
that is needed for two menu entries.

Also, the menu entry for "Search and Run..." was using
a system icon for finding stuff, which looked wrong when
used with a symbolic theme.

We could come up with something overly clever like
a dedicated CLI/terminal icon, but people would expect
a magnifier instead (judging by what Blender does)
and that's what we already use for the Zoom tool.
Hence the lazy fix.
This commit is contained in:
Alexandre Prokoudine 2018-01-05 04:33:16 +03:00
parent 49e60ae72b
commit fa2a1fd7e9
2 changed files with 3 additions and 3 deletions

View File

@ -289,7 +289,7 @@ static const GimpStringActionEntry dialogs_toplevel_actions[] =
"gimp-about-dialog", "gimp-about-dialog",
GIMP_HELP_ABOUT_DIALOG }, GIMP_HELP_ABOUT_DIALOG },
{ "dialogs-action-search", GIMP_ICON_EDIT_FIND, { "dialogs-action-search", GIMP_ICON_TOOL_ZOOM,
NC_("dialogs-action", "_Search and Run a Command"), "slash", NC_("dialogs-action", "_Search and Run a Command"), "slash",
NC_("dialogs-action", "Search commands by keyword, and run them"), NC_("dialogs-action", "Search commands by keyword, and run them"),
"gimp-action-search-dialog", "gimp-action-search-dialog",

View File

@ -37,13 +37,13 @@ static const GimpActionEntry help_actions[] =
{ {
{ "help-menu", NULL, NC_("help-action", "_Help") }, { "help-menu", NULL, NC_("help-action", "_Help") },
{ "help-help", "help-browser", { "help-help", "gimp-prefs-help-system",
NC_("help-action", "_Help"), "F1", NC_("help-action", "_Help"), "F1",
NC_("help-action", "Open the GIMP user manual"), NC_("help-action", "Open the GIMP user manual"),
G_CALLBACK (help_help_cmd_callback), G_CALLBACK (help_help_cmd_callback),
GIMP_HELP_HELP }, GIMP_HELP_HELP },
{ "help-context-help", "help-browser", { "help-context-help", "gimp-prefs-help-system",
NC_("help-action", "_Context Help"), "<shift>F1", NC_("help-action", "_Context Help"), "<shift>F1",
NC_("help-action", "Show the help for a specific user interface item"), NC_("help-action", "Show the help for a specific user interface item"),
G_CALLBACK (help_context_help_cmd_callback), G_CALLBACK (help_context_help_cmd_callback),