#32 Add new GNOME-like menu generated from *.desktop files


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
lightweight panel.

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.


  • Anatoly Asviyan

    Anatoly Asviyan - 2006-09-07
    • assigned_to: nobody --> aanatoly
  • PCMan

    PCMan - 2006-09-13

    Latest patch adding system menu generated from *.desktop files.

  • PCMan

    PCMan - 2006-09-13

    Logged In: YES

    This is a new patch adding system menu generated from
    *.desktop files.
    "system { }" can work as a place holder for system menu
    items in the config file.
    Menu items got reloaded automatically when there is any
    change in directories containing *.desktop files.
    Icons are reloaded when the gtk+ icon theme is changed.

    It seems to be the time to release fbpanel 4.6.

  • Anatoly Asviyan

    Anatoly Asviyan - 2007-03-31

    Logged In: YES
    Originator: NO

    it is implemented now. You can check code in from fbpanel.berlios.de SVN

  • Anatoly Asviyan

    Anatoly Asviyan - 2007-03-31
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks