[Panel-devel] Dropping an image on the desktop

Aaron J. Seigo aseigo at kde.org
Sat Aug 11 13:56:05 CEST 2007


On Saturday 11 August 2007, Sven Burmeister wrote:
> I read in the todo for the picture-frame that it will support dropping an
> image on it. However, what happens, if there is no frame-applet yet and I
> drop an image on the desktop? Should it not ask me whether I would like to
> use it with an applet that fits the mime-type?

if the .desktop file for the applet has a 
MimeTypes=image/jpeg;image/png;image/svg (etc..) then it should work right 
out of the box.

where the code could be improved is that if there is more than one possible 
match it just creates the first applet that matches. it really ought to ask 
which kind of applet to create in that case so one can choose.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070811/a23c1363/attachment.pgp 


More information about the Panel-devel mailing list