I've made some improvement to the menu of fbpanel, and
here is a screenshot.
The menu is generated from *.desktop files installed on
the system partially according to the specs on
However, the original menu spec is extremely
complicated and requires a lot of resources, so I
didn't fully implementd it. My implementation is not
complete, but I think this is quite enough for a
Here's some explaination about my patch:
ptk_app_menu.c: My implementation of the menu.
menu.patch: patch to plugins/menu.c to integrate my menu.
I didn't add my code directly to menu.c since
ptk-app-menu.c can be used separately.
I'm not sure how to correctly add new file to
plugins/Makefile since it's written for building of
shared libs containing plugins, so I #include
"ptk_app_menu.c" to insert my code to menu.c, which is
not a good way.
If you got any better way to add my code to fbpnale,
please do it.