| Summary: | [Help Handbooks] Add TDevelop Programming Handbook to the TDevelop Help menu | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bugwatch, darrella, michele.calgaro |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2014 | ||
| Attachments: |
Patch to add handbook to Help menu
Patch to add handbook to Help menu: updated because of commit d90afc5a Patch to make Programming Handbook visible in help handbook table of contents |
||
Created attachment 1889 [details]
Patch to add handbook to Help menu
Works fine and is functional but I envisioned the menu item being second in the menu like the kate plugins handbook.
Created attachment 1906 [details]
Patch to add handbook to Help menu: updated because of commit d90afc5a
Strange, I tested the patch but the "TDevelop Programming Handbook" is not showing up in the Help menu.... The patch looks ok and I also checked that the files are installed correctly.... I am a little puzzled. Haven't spent much time on it though. Perhaps I will come back to this later on. BTW, on Debian/Ubuntu this patch requires an additional patch to fix the kde_app_devel to tde_app_devel rename. >I am a little puzzled. Are you sure? In comment 1 I shared how the handbook is not the second item in the menu. On my system the handbook appears in the second menu grouping, between Tips of the Day and Look in Documentation Index. (In reply to comment #4) > Are you sure Yes, I am :) Very sure. Created attachment 1932 [details]
Patch to make Programming Handbook visible in help handbook table of contents
This patch adds the Programming Handbook to the help handbook table of contents in the Development->TDevelop category. The patch does not add the Programming Handbook to the launcher menu.
The patches originally attached here (attachment 1906 [details], 1932) were absorbed in the meta patch in commit 722ce1ef.
I am leaving this report open to address the placement of the programmer's handbook in the Help menu.
The patch now works on my system too. I wonder what I was doing wrong or what I was forgetting.... Fixed in commit 9224e8b (main) and 650aae6 (packaging Debian/Ubuntu). The TDevelop programming handbook is now placed just after the TDevelop handbook. Looks nice. Thank you. |
There is a nice help handbook packaged with TDevelop named the TDevelop Progamming Handbook. I find no obvious way of accessing that handbook without knowledge the handbook exists. Like the kate plugins handbook, this programming handbook should be part of the TDevelop Help menu. The following is a snippet from tdebase/kate/app/katemainwindow.cpp: if (KatePluginManager::self()->pluginList().count() > 0) { a=new TDEAction(i18n("&Plugins Handbook"), 0, TQT_TQOBJECT(this), TQT_SLOT(pluginHelp()), actionCollection(), "help_plugins_contents"); a->setWhatsThis(i18n("This shows help files for various available plugins.")); } Probably all that is needed is detect the existence of the handbook, which is installed at /opt/trinity/share/doc/tde/HTML/en/kde_app_devel, soon to be patched to be renamed to tde_app_devel.