[rfc][icedtea-web] fixinf of desktop icon behaviour

Omair Majid omajid at redhat.com
Thu Dec 27 10:04:00 PST 2012


On 12/21/2012 11:38 AM, Adam Domurad wrote:
> On 12/21/2012 11:05 AM, Jiri Vanek wrote:
>> Hi! This is fix for
>> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=725 - JNLP
>> applications will prompt for creating desktop shortcuts every time
>> they are run
>>
>> When I have seen Omairs original patch it was too much complicated, So
>> I want at least to try this one.
> 
> Do you know why Omair used explicit locking? I couldn't quite figure it out
> 

My first patch kept a record of all desktop entries that icedtea-web
created in a file. This meant that if a user deleted the desktop icon,
icedtea-web wouldn't prompt for the creation of that icon again.

It was important to lock that record file to prevent multiple
icedtea-web processes from editing it simultaneously.

Cheers,
Omair
-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681



More information about the distro-pkg-dev mailing list