From 4690850d02dfd6b537d8c3b3dbb25269192c3815 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 24 Jun 2015 01:07:41 +0200 Subject: enable help --- sensors-applet/prefs-dialog.c | 2 +- sensors-applet/sensor-config-dialog.c | 2 +- sensors-applet/sensors-applet.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sensors-applet') diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index 72fc277..c7c2204 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("http://wiki.mate-desktop.org/docs:mate-sensors-applet#%s", + uri = g_strdup_printf("help:mate-sensors-applet#%s", ((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 fa05c9f..e106481 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, - "http://wiki.mate-desktop.org/docs:mate-sensors-applet", + "help:mate-sensors-applet", gtk_get_current_event_time(), &error); diff --git a/sensors-applet/sensors-applet.c b/sensors-applet/sensors-applet.c index 3081163..bc62f35 100644 --- a/sensors-applet/sensors-applet.c +++ b/sensors-applet/sensors-applet.c @@ -78,7 +78,7 @@ static void help_cb(GtkAction *action, GError *error = NULL; - gtk_show_uri(NULL, "http://wiki.mate-desktop.org/docs:mate-sensors-applet", + gtk_show_uri(NULL, "help:mate-sensors-applet", gtk_get_current_event_time(), &error); -- cgit v1.2.1