differences from 4.2 plugin on which it is based -uses rcfile instead of xml for config -uses libxfcegui for adding/removing workspaces instead of X events -uses an invisible dummy widget instead of an event box for the gtk_widget_render_icon call() I am not sure if the signal handler needs to be freed on data-free. That field is marked with FIXME. It seems to work with or without but maybe I just don't know how to trigger a doesn't work scenario :) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 400 c file
Created attachment 401 desktop file
Created attachment 402 makefile
build patch common for showdesktop/windowlist Index: plugins/Makefile.am =================================================================== --- plugins/Makefile.am (revision 19536) +++ plugins/Makefile.am (working copy) @@ -7,4 +7,6 @@ systray \ iconbox \ clock \ + showdesktop \ + windowlist \ testplugin Index: configure.ac =================================================================== --- configure.ac (revision 19536) +++ configure.ac (working copy) @@ -93,6 +93,8 @@ plugins/systray/Makefile plugins/iconbox/Makefile plugins/clock/Makefile +plugins/showdesktop/Makefile +plugins/windowlist/Makefile plugins/testplugin/Makefile po/Makefile.in docs/Makefile
I've added it to SVN with a couple of changes: free resources, use the action menu that is available from libxfcegui4, make it a toggle button and add a menu positioning function (copied from the menu plugin). Thanks a lot for the port.