Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

SWT/Devel/Gtk/GNOME icons

< SWT‎ | Devel‎ | Gtk
Revision as of 15:53, 12 August 2015 by Ericwill.redhat.com (Talk | contribs) (Created page with "= Background = In Gtk3.10, menus with images as well as many stock icons were deprecated. This includes things such as icons for menu items, and icons on "OK" and "Cancel" typ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Background

In Gtk3.10, menus with images as well as many stock icons were deprecated. This includes things such as icons for menu items, and icons on "OK" and "Cancel" type buttons. As Gtk and GNOME are closely tied together, these icons were disabled in GNOME3 as well.

This causes issues with testing, as testing icon related patches on GNOME3 can be misleading when the GNOME setting isn't enabled. For example, an SWT snippet may use an icon, but does not show up when you run it on GNOME3. Fortunately, this setting can be re-enabled with a simple command.

Solution

In a command line, as a normal user, enter this command:

 gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>,'Gtk/EnablePrimaryPaste': <0>}"

Back to the top