(for Jeffrey Chen) cmdassistant crash issue with Help invocation
authorasano
Mon, 27 Sep 2010 19:04:59 +0900
changeset 31 4d19a4859e94
parent 30 2520f3cf708a
child 32 b3cb3388af53
(for Jeffrey Chen) cmdassistant crash issue with Help invocation
cmdassist/src/pre-dialog.c
--- a/cmdassist/src/pre-dialog.c	Mon May 03 17:44:23 2010 -0700
+++ b/cmdassist/src/pre-dialog.c	Mon Sep 27 19:04:59 2010 +0900
@@ -339,7 +339,11 @@
 	switch (response_id) {
 	case GTK_RESPONSE_HELP:
 		error = NULL;
-		gnome_help_display ("CommandAssistant", "command-assistant-preferences", &error);
+		/* replacing gnome_help_display with gnome_help_display_uri */
+		/* gnome_help_display ("CommandAssistant", "command-assistant-preferences", &error); */
+		gchar* name = g_strdup_printf ("%s%s/C/CommandAssistant.xml", "ghelp://", CMDASSIST_HELPDIR);
+		gnome_help_display_uri(name, &error);
+		g_free(name);
 
 		if (error) {
 			GtkWidget *dialog;