diff options
author | monsta <[email protected]> | 2015-06-25 12:21:47 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-06-25 12:21:47 +0300 |
commit | b1b36a7d487738f5f55905a72fe0ad750abb4536 (patch) | |
tree | eac8b8136d4904717461d973b86e69df466b1f15 /sensors-applet/prefs-dialog.c | |
parent | 166bb4c7242bc4c01dfb7458ac4873505b9baa1a (diff) | |
download | mate-sensors-applet-b1b36a7d487738f5f55905a72fe0ad750abb4536.tar.bz2 mate-sensors-applet-b1b36a7d487738f5f55905a72fe0ad750abb4536.tar.xz |
use correct help links in prefs and sensor config dialogs
- help button in prefs dialog -> sensors tab opens Sensors help page,
not General Options;
- help button in individual sensor config dialog opens the same page
but scrolls down to Sensor Properties section.
Diffstat (limited to 'sensors-applet/prefs-dialog.c')
-rw-r--r-- | sensors-applet/prefs-dialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index 9e3376a..002a668 100644 --- a/sensors-applet/prefs-dialog.c +++ b/sensors-applet/prefs-dialog.c @@ -64,11 +64,11 @@ 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/sensors-applet-general-options", + uri = g_strdup_printf("help:mate-sensors-applet/%s", ((current_page == 0) ? - "general_options" : + "sensors-applet-general-options" : ((current_page == 1) ? - "sensors" : + "sensors-applet-sensors" : NULL))); gtk_show_uri(NULL, uri, gtk_get_current_event_time(), &error); g_free(uri); |