From 9c863eed55765e7cae223dcdc2086490e22e9bba Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 24 Jun 2015 19:58:06 +0200 Subject: adjust help links to match prefs and sensor-prefs dialog --- help/C/index.docbook | 29 ++++++++++++++++++++++------- sensors-applet/prefs-dialog.c | 2 +- sensors-applet/sensor-config-dialog.c | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/help/C/index.docbook b/help/C/index.docbook index 51691ae..4d8301f 100644 --- a/help/C/index.docbook +++ b/help/C/index.docbook @@ -2,13 +2,13 @@ - - + + - + @@ -30,6 +30,10 @@ &applet; Manual V&manrevision; + + 2015 + MATE Development + 2006 &author-name; @@ -60,6 +64,16 @@ any of this. --> + + MATE Development + + + + + Alex Murray @@ -631,9 +645,10 @@ Alarms for individual sensors must also be enabled. About &applet; - - &applet; was written by Alex Murray - (murray.alex@gmail.com). To find more information about + The origin sensor applet was written by Alex Murray + (murray.alex@gmail.com). + &applet; is further develop by Mate dev team. + To find more information about &applet;, please visit the &applet; Project Homepage. diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index c7c2204..9e3376a 100644 --- a/sensors-applet/prefs-dialog.c +++ b/sensors-applet/prefs-dialog.c @@ -64,7 +64,7 @@ void prefs_dialog_response(GtkDialog *prefs_dialog, case GTK_RESPONSE_HELP: g_debug("loading help in prefs"); current_page = gtk_notebook_get_current_page(sensors_applet->prefs_dialog->notebook); - uri = g_strdup_printf("help:mate-sensors-applet#%s", + uri = g_strdup_printf("help:mate-sensors-applet/sensors-applet-general-options", ((current_page == 0) ? "general_options" : ((current_page == 1) ? diff --git a/sensors-applet/sensor-config-dialog.c b/sensors-applet/sensor-config-dialog.c index e106481..e8ddc08 100644 --- a/sensors-applet/sensor-config-dialog.c +++ b/sensors-applet/sensor-config-dialog.c @@ -80,7 +80,7 @@ static void sensor_config_dialog_response(GtkDialog *dialog, case GTK_RESPONSE_HELP: g_debug("loading help in config dialog"); gtk_show_uri(NULL, - "help:mate-sensors-applet", + "help:mate-sensors-applet/sensors-applet-sensor-config-dialog", gtk_get_current_event_time(), &error); -- cgit v1.2.1