GNOME Bugzilla – Bug 560311
Update devhelp plugin to use webkit version
Last modified: 2008-11-30 12:33:31 UTC
I am going to attach a patch in the next message.
Created attachment 122399 [details] [review] devhelp Theorically this should work without the history, but here I am getting an error that it cannot be found the symbol: dh_assistant_view_get_type. So I cannot test it. If anybody knows why this is happening...
Created attachment 122660 [details] [review] devhelp v2 This is the same as the previous one but with configure.in edited.
Normally, this function dh_assistant_view_get_type is defined in devhelp in src/dh-assistant-view.c in the line: G_DEFINE_TYPE (DhAssistantView, dh_assistant_view, WEBKIT_TYPE_WEB_VIEW); I have recompiled Anjuta and I don't get an error. It's probably an error on your environment. Recompile and reinstall devhelp. Then in anjuta directory rerun ./autogen, then make and make install. If it doesn't work, you can try make distclean in anjuta directory before trying again.
Just add $(PLUGIN_DEVHELP_LIBS) to the Makefile.am and it will work (of course you have to rebuild): # Plugin dependencies libanjuta_devhelp_la_LIBADD = \ $(GTK_LIBS) \ $(LIBANJUTA_LIBS) \ $(PLUGIN_DEVHELP_LIBS) Plugin is not working very well though.
Created attachment 122987 [details] [review] devhelp v3 The plugin right now supports the same things than in the previous one. Known issues: * The back/forward buttons aren't updated very well. * The search tab is getting too much size. Could you check this things?
Created attachment 123658 [details] [review] devhelp v4 Same than before but fixing the size requested by the search tab.
Created attachment 123670 [details] [review] devhelp v5 Now the back/forward are working and placed in the left panel. Next step will be the eggfindbar.
Thanks!
Note WebKit has not yet been approved for 2.26, I didn't check what was commited but the patch would make a regression in anjuta (no devhelp plugin) if devhelp/webkit is not part of 2.26.