Hi,<br><br>I am again bugging the list with another issue I am going to solve.<br>This time with the help framework.<br><br>I did write my xournal.xml help file, here is an excerpt of interest for the issue I am describing:<br>
<br><?xml version="1.0" encoding="utf-8"?><br><ossohelpsource><br> <folder><br> <title>Xournal</title><br> <topic><br> <topictitle>1. Introduction</topictitle><br>
<context contextUID="help_introduction"/><br> <para>Xournal is an application for notetaking, sketching, keeping a journal using a stylus. It is free software (GNU GPL) and runs on Maemo, desktop Linux (recent distributions) and other GTK+/Gnome platforms. It is similar to Microsoft Windows Journal or to other alternatives such as Jarnal and Gournal.</para><br>
</topic><br> </folder><br></ossohelpsource><br clear="all"><br>This xournal.xml file is stored correctly into /usr/share/osso-help/en_GB and en_US<br>(the tablet is set as en_US)<br>
<br>main function:<br><br> osso_context_t *ctx;<br><br> ctx = osso_initialize (PACKAGE, VERSION, TRUE, NULL);<br> g_assert (ctx);<br><br> g_signal_connect (GTK_OBJECT(xournalHelp), "activate",<br> G_CALLBACK (on_HildonHelp_activate),<br>
"help_introduction");<br>...<br>This is the code in the callback function (it is correctly called) on_HildonHelp_activate:<br><br>on_HildonHelp_activate (GtkWidget *widget, gchar *help_id) {<br>
..<br> retval = hildon_help_show(ctx, /* global osso_context */<br> help_id, /* topic id */<br> HILDON_HELP_SHOW_DIALOG);<br>..<br>}<br><br>where "help_id" is correctly passed as "help_introduction" from the menu item signal<br>
and the ctx is a global osso_context_t * pointer (the one returned by osso_initialize);<br><br>Guess what ?<br>No help widget is shown.<br><br>Yeah, I know.. this is very similar to the Help Framework HOWTO, is it ? :)<br>
<br>One more thing. I did also check the maemopad example, but its Makefile stores<br>the help file in the /usr/share/hildon-help folder rather than osso-help, thus I guess<br>that help is wrong or outdated.<br>Anyway when the MaemoPad.xml was stored in the hildon-help folder, it behaved as<br>
Xournal. Click on the menu item and it doesn't show anything at all.<br>If I copy the MaemoPad.xml file to the correct folder in osso-help (en_GB and en_US<br>to be sure) a balloon appears telling me that that topic does not exist (even if it does, I checked).<br>
<br>What's wrong ?<br><br>-- <br>anidel