--===============2053779765== Content-Type: multipart/signed; boundary="nextPart11324779.id1Ov4OGQi"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart11324779.id1Ov4OGQi Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On September 26, 2009 11:03:37 Aaron J. Seigo wrote: > On September 26, 2009, Yuen Hoe Lim wrote: > > the wallpaper plugin doesn't have control over the right-click-desktop > > context menu, and it will be inappropriate to hack the functionality > > into the core desktop code. >=20 > that's correct; but we already have a way to add context menu items from > applets and what not. the containment is in complete control here, and the > containment is also what knows about the wallpaper. so it could ask the > wallpaper if it has anything to add actions to add to the context menu. > should be easy to add some mechanism to the Wallpaper plugin API for thi= s. >=20 heck yeah. add a contextualActions function and have the default=20 implementation of Containment::contextualActions call it if wallpaper exist= s. con: custom desktop containments might break that unintentionally pro: custom desktop containments can intentionally stop it if they want to. if we don't think the containment plugin should be allowed to block wallpap= er=20 actions then just add a separate function in Containment,=20 wallpaperContextualActions, and have the contextmenu plugin draw from that= =20 too. or if ContainmentActions plugins can access the containment's wallpape= r=20 object directly we don't need a function to forward the data. :) =2D-=20 This message brought to you by eevil bananas and the number 3. www.chani3.com --nextPart11324779.id1Ov4OGQi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkrBQmMACgkQeGbAwpIS3GzD3wCg54807T/ZiHeUtp24u94Akq84 t8MAoJDD4F3sSaAw6V55cFqadPVVKh6T =gzQF -----END PGP SIGNATURE----- --nextPart11324779.id1Ov4OGQi-- --===============2053779765== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============2053779765==--