[rfc][icedtea-web] menu support

Jiri Vanek jvanek at redhat.com
Thu Nov 13 16:59:02 UTC 2014


This is support for XDG menus.

Work can be divided into two bug parts
  1) additional features to "install desktop icon" dialogue
  2) install the menu item

Tested in KDE, Gnome3, mate, xfce. (gnome 2 must-to-do) - see javadoc in XdesktopEntry.java for some 
interesting differences. But works surprisingly well.

1) our glorious accessdialogue is returning only int. I had to rape it a bit:(  The only other 
workaround is to separate desktops's creation to separate class. COnsidering the many logic in 
AccessWarningPane I had inclined to those few if lines (anyway there is only small possible 
workaroound around this "rape 70,40,30,20,0 codes :-/)

Happy reading :))


Pleas enote, that [rfc][icedtea-web] ignore npe in pac,a nd fixing --Xoffliner are also part of this 
patch. I will remove them in next rounds/before push (As the fixxes were already approved anyway).

After this is in/during reviw, I will work on new panel to itweb-settings, which allows removing of 
icons and menu entries added by javaws.itweb.

General thoughs?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: menuSupport.diff
Type: text/x-patch
Size: 44146 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20141113/30e9d021/menuSupport-0001.diff>

More information about the distro-pkg-dev mailing list