Bug 571033 - [GTK] Clean up ToolTips Implementation

- Moved setToolTipText utility function from Shell to Widget, as there
is no dependency on Shell required and the function is mainly used in
more broad cases. This results in cleaner code as there is no need to
get the Shell object.

- Remove fixChildren overrides in Table, Tree, as the changes in the
Shell or underlying GtkWindow does not affect the call to
gtk_widget_set_tooltip_text. This seems like a legacy thing that SWT
used to do when GtkWidget did not have native tooltips.

Change-Id: I8b886cbc34e3c5b0e1bb18b30a3a1f4edbacde24
Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/181797
Tested-by: Platform Bot <platform-bot@eclipse.org>
Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
12 files changed
tree: 144be55840d8de7156221665d295250348125226
  1. bundles/
  2. container/
  3. examples/
  4. features/
  5. local-build/
  6. tests/
  7. .gitignore
  8. CONTRIBUTING
  9. LICENSE
  10. NOTICE
  11. pom.xml
  12. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!