Community
Participate
Working Groups
This patch makes gdk_drawable_get_image dynamic: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_drawable_get_image Note: I am hesitant about the TrayItem.gtk_size_allocate use of gdk_drawable_get_image. Tests I made: To test if TrayItem.gtk_size_allocate() is called I have ran following snippets (with commented out gtk_size_allocate): http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet143.java http://www.java2s.com/Tutorial/Java/0280__SWT/Createaballoontooltipforatrayitem.htm and ControlExample (Tooltip tab has "Show in Tray" option) None of them called gtk_size_allocate, thus I made a conclusion that probably this function is not used. If I am wrong, please let me know.
Silenio, would you please comment on the TrayItem and gtk_size_request concern?
(In reply to comment #1) > Silenio, would you please comment on the TrayItem and gtk_size_request > concern? Unfortunately, TrayItem icon does not work on RedHat 6 and Ubuntu 12. It works on RedHat 5 (gtk 2.10), but that code only runs for GTK < 2.10 (see hookEvents()). So we are safe to make it dynamic. Fixed http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=349459091b102fd601c4529f951a9f14324c71bd