[rfc][icedtea-web] menu support
Jiri Vanek
jvanek at redhat.com
Thu Nov 13 17:17:29 UTC 2014
On 11/13/2014 05:59 PM, Jiri Vanek wrote:
> Hi!
>
> 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
>
> 2:
> 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 :))
>
>
> J.
>
> 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?
>
> J.
Jsut realized an NPE - in case of ALWAYS_ASK, the information, and getShortcut may be null...
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: menuSupport_2.diff
Type: text/x-patch
Size: 44410 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20141113/7ca1c713/menuSupport_2-0001.diff>
More information about the distro-pkg-dev
mailing list