Panel plugin autodetecting
Scott Barron <[email protected]> Wed, 21 Apr 2004 00:24:24 -0400
| Newsgroups | gmane.comp.xfce.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============71752168643142888== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I did some messing around tonight and added the capability for the panel to find newly installed plugins without having to be restarted. It's a pretty trivial patch, but I've just started looking through xfce so the developers should look it over and make sure I'm not missing something. The patch also handles the plugin being uninstalled, it will not show it in the "Add new item" dialog. I had to add the path to the ControlInfo struct because I wasn't sure if I was otherwise able to get the path using ControlInfo. At any rate, any thoughts or comments on the patch are appreciated. While doing this I noticed that if there is a configuration for a plugin set up for xfce but the plugin is not installed the panel will segfault on start up. I don't have time to look into it tonight, but the relevant backtrace is: groups_show_popup (index=10, show=1) at groups.c:562 562 group = li->data; Note: both of these are done against CVS head. The patch can be found at: http://elitists.net/~kain/panel-patch Thanks -Scott --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAhfd4vqYRQQGcpIQRAqb4AJ0RS4zIX1bX7yfMzIhnpj9WS9mPswCcDDtW q0XW50o6aVNtQ3DviLGAYWs= =U/Im -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- --===============71752168643142888== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xfce-dev mailing list [email protected] http://lunar-linux.org/mailman/listinfo/xfce-dev --===============71752168643142888==--