About the entries or toggle_entries in the planner menu



Hello fellow Planner programmers,
Maurice Van Der Pot already knows me but for the others, I'm Gabriel Camby and I'm working on a university student project on Planner.
My director of project asked me to add some features to this software; especially about PERT diagrams.

Do not get too much excited about this though... As a student project I must work alone on this. I don't even know if the project will succeed.
The project director will tell me if I can release the code if it's working (and I really hope so).

So... I began my Planner source code discovery with a small hack. I added a PERT view in the sidebar (gantt, tasks, resources, usage), right after the gantt one (append in a GList is easy).
They both shared the WBS part but the right part in the view will be different (PERT diagrams for PERT).
To make it short, I added duplicated files from the gantt part and renamed in a pert manner.
But the gantt part has features unneeded by PERT.

The little problem I came across made me think I missed something about the program structure.
In my pert files, I removed in the GTKActionEntry toggle_entries list the one about the guidelines (so when the view is activated, this one isn't added at all to the menu).

But it isn't working.
When I start Planner with Task view being the "start" view, the menu list in the PERT view is displaying the Task view list (shown columns and highlight critical) instead of shown columns, highlight critical and non-standards days.
If I start Planner  with gantt view being the "start" view, the pert view menu is exactly the same than the gantt one (all the 4 toggle entries).

What's the problem?
Aren't the toggle_entries added when the view is activated or somewhere else?

Thanks a lot for any help you can provide!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]