Hi,
Thanks for the work Krzysztof.

As Jon mentionned, this is the kind of thing the students from Centrale Lyon have to explore during their work on image management (specifications are here: https://blueprints.launchpad.net/inkscape/+spec/image-properties-dialog-enhancements ). But don't worry everything is fine. Your work is very welcomed :)

I asked them today to better communicate with me and the list+wiki concerning what they intend to do and what they have done. I met them a month ago chen they just started to explore the code.

Cheers, 
Steren

2010/3/5 Krzysztof Kosiński <tweenk.pl@gmail.com>
Hello

I wondered for some time how to add an "embed" checkbox to the import
dialog, but it wasn't necessary - I used the extension parameters
feature.

I fixed the embedding of images in the following way:
1. If a bitmap file is imported, a dialog appears that asks the user
whether to link. (Same when opening a bitmap image.)
2. When a bitmap file URI is dragged over Inkscape's window, a dialog
appears as in 1.
3. When pixel data is dragged over Inkscape's window, it is embedded
an no dialog is shown.
4. When a bitmap file URI is pasted, nothing happens (for now) -
that's because the clipboard doesn't support URI lists yet.
5. When pixel data is pasted, it is embedded as in 3.

As a bonus, all bitmap import should now use the same code path.

Regards, Krzysztof

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel