GNOME Bugzilla – Bug 100007
There can only be one applet
Last modified: 2004-12-22 21:47:04 UTC
Hi, http://bugs.debian.org/171271 I regularly connect to different ISPs. For that, I'd like a modemlights applet which allows me to choose between those providers. It used to be possible to have more than one modemlights-applet. Now, however, they all share the same configuration, so in effect there can only be one of those.
This is easy to fix for someone who wants to do a little hacking. The problem is that modemlights uses global variables which get shared between different instances of the applet. The global variables need to get packed into a data structure and passed into the various callbacks. I have already started the process of building a data structure. Someone needs to just g_new0 it at applet creation and pass it in each callback. That way each instance creates it's own data structure instead of sharing.
*** Bug 103356 has been marked as a duplicate of this bug. ***
*** Bug 103281 has been marked as a duplicate of this bug. ***
Attaching easy-fix keyword.
Still in GNOME 2.2
Fixed in cvs now