show correct help pages for prefs and plugins dialogs

This commit is contained in:
Monsta 2015-07-08 12:42:59 +03:00
parent a5c13501b6
commit bdb0ef751e
2 changed files with 3 additions and 3 deletions

View File

@ -1166,9 +1166,9 @@ configure_dialog_response_cb (GtkWidget *widget,
{
pluma_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_HELP");
pluma_help_display (GTK_WINDOW (dialog),
pluma_help_display (GTK_WINDOW (widget),
NULL,
"pluma-date-time-configure");
"pluma-insert-date-time-plugin#pluma-date-time-configure");
break;
}
case GTK_RESPONSE_OK:

View File

@ -75,7 +75,7 @@ pluma_help_display (GtkWindow *parent,
#ifndef G_OS_WIN32
if (link_id)
link = g_strdup_printf ("help:%s?%s", name, link_id);
link = g_strdup_printf ("help:%s/%s", name, link_id);
else
link = g_strdup_printf ("help:%s", name);
#else