From 55c56c6dc2e67ad244f2afde77343b0ee83aeea3 Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 2 Jul 2015 14:14:26 +0300 Subject: applets/prefs/stats: properly show corresponding help pages --- applets/brightness/brightness-applet.c | 2 +- applets/brightness/gpm-common.c | 2 +- applets/inhibit/gpm-common.c | 2 +- applets/inhibit/inhibit-applet.c | 2 +- src/gpm-common.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index a7362b4..d3570b8 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -859,7 +859,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data) static void gpm_applet_help_cb (GtkAction *action, gpointer data) { - gpm_help_display ("applets-brightness"); + gpm_help_display ("applets-general#applets-brightness"); } /** diff --git a/applets/brightness/gpm-common.c b/applets/brightness/gpm-common.c index 2249d63..3f8a1ff 100644 --- a/applets/brightness/gpm-common.c +++ b/applets/brightness/gpm-common.c @@ -173,7 +173,7 @@ gpm_help_display (const gchar *link_id) gchar *uri; if (link_id != NULL) - uri = g_strconcat ("help:mate-power-manager?", link_id, NULL); + uri = g_strconcat ("help:mate-power-manager/", link_id, NULL); else uri = g_strdup ("help:mate-power-manager"); diff --git a/applets/inhibit/gpm-common.c b/applets/inhibit/gpm-common.c index 2249d63..3f8a1ff 100644 --- a/applets/inhibit/gpm-common.c +++ b/applets/inhibit/gpm-common.c @@ -173,7 +173,7 @@ gpm_help_display (const gchar *link_id) gchar *uri; if (link_id != NULL) - uri = g_strconcat ("help:mate-power-manager?", link_id, NULL); + uri = g_strconcat ("help:mate-power-manager/", link_id, NULL); else uri = g_strdup ("help:mate-power-manager"); diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c index 32c9a4c..eae73fd 100644 --- a/applets/inhibit/inhibit-applet.c +++ b/applets/inhibit/inhibit-applet.c @@ -528,7 +528,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data) static void gpm_applet_help_cb (GtkAction *action, gpointer data) { - gpm_help_display ("applets-inhibit"); + gpm_help_display ("applets-general#applets-inhibit"); } /** diff --git a/src/gpm-common.c b/src/gpm-common.c index 2c55d97..f71aada 100644 --- a/src/gpm-common.c +++ b/src/gpm-common.c @@ -135,7 +135,7 @@ gpm_help_display (const gchar *link_id) gchar *uri; if (link_id != NULL) - uri = g_strconcat ("help:mate-power-manager?", link_id, NULL); + uri = g_strconcat ("help:mate-power-manager/", link_id, NULL); else uri = g_strdup ("help:mate-power-manager"); -- cgit v1.2.1