2011/1/19 Joost van der Hoff <[email protected]>: > I am having a problem adding the standard LXPanel right-click dropdown > menu the GlobalMenu plugin I am writing. Adding it to the plugin's top > level container as in the example plugin doesn't work. I can add a > mouseclick listener to the GlobalMenu widget but that overrides the > listener which makes the GlobalMenu applet useful as a global menubar. > Does anyone know how to add the right click dropdown menu without losing > major functionality?
Try to remove any g_signal_connect to the top level container of the plugin. >From you example in the howto, try to remove : g_signal_connect (G_OBJECT (p->pwid), "button_press_event", G_CALLBACK (button_press_event), (gpointer) p); It worked for me for my indicator plugin. Regards, Julien Lavergne ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
