Community
Participate
Working Groups
Menu icons are missing when running 3.5.1 under GTK+ 2.18. They work fine with 2.16. I'll attach two screenshots to show the difference.
Created attachment 150864 [details] GTK 2.16 Screenshot showing icons with GTK 2.16.
Created attachment 150865 [details] gtk 2.18 Screenshot showing missing icons with GTK 2.18.
This is happening for me with gtk2-2.18.3 on Fedora 12 but not on 2.18.0 on Ubuntu (9.04 with some 9.10 packages).
Alex, any changes between 2.18.0 and 2.18.3 that ring a bell for you?
That's a new "feature" of GNOME 2.28. Please open gnome-appearance-properties, select the Interface tab and enable "Show icons in menus". Corresponding Ubuntu bug: https://launchpad.net/bugs/464893
(In reply to comment #5) > That's a new "feature" of GNOME 2.28. Please open gnome-appearance-properties, > select the Interface tab and enable "Show icons in menus". Thanks for pointing this out. I don't have an "Interface" tab in my gnome-appearance-properties. My gnome-appearance-properties comes from: control-center-2.28.1-4 Is there perhaps an Ubuntu-specific patch to this? Regardless of this GNOME change, is there something SWT-side that should be done?
Created attachment 151111 [details] Appearance-Preferences.png In Ubuntu gnome-control-center provides gnome-appearance-properties. I have version 2.28.1-0ubuntu1 installed (screenshot attached). There is no obvious patch for adding the "Interface" tab. You can grab the source from https://launchpad.net/ubuntu/+source/gnome-control-center/1:2.28.1-0ubuntu1 and have a look at it. I think this is GNOME only change and there is nothing to do on the SWT-side. So you can close this bug.
Here are some upstream docs on ensuring icons remain next to menu items: http://library.gnome.org/devel/gtk/unstable/GtkImageMenuItem.html#gtk-image-menu-item-set-always-show-image http://library.gnome.org/devel/gtk/unstable/GtkToolItem.html#gtk-tool-item-set-is-important http://library.gnome.org/devel/gtk/unstable/GtkAction.html#gtk-action-set-is-important @Benjamin: that setting has apparently been removed in upstream git: http://mail.gnome.org/archives/gnomecc-list/2009-July/msg00015.html
*** Bug 294905 has been marked as a duplicate of this bug. ***
Created attachment 166736 [details] gconf-editor change to enable icons in menus With Ubuntu Lucid (and presumably other distributions and versions), the menu icons can still be enabled by using "gconf-editor". I launched it from command line, but it may also be available somewhere via system menus.
(In reply to comment #10) > Created an attachment (id=166736) [details] > gconf-editor change to enable icons in menus > > With Ubuntu Lucid (and presumably other distributions and versions), the menu > icons can still be enabled by using "gconf-editor". I launched it from command > line, but it may also be available somewhere via system menus. Yes, that is thew solution, but, any way, it will be much better if it will be some eclipse-provided solution to keep the icons. They are major thing in usability, and missing them is a real problem for user (for me do), so it is no good to depend in such things from GTK developers (the use to do strange things). In general it is not good idea to use diferent interfaces with diferent concepts, may be it will be useful to replace GTK menus with own ones.
If you don't have an "interface" tab then try to run: gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true It works for me (Fedora 13)
*** Bug 313253 has been marked as a duplicate of this bug. ***
Icons are disabled by default in GNOME3 and must be enabled using the following command entered into the terminal: gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>,'Gtk/EnablePrimaryPaste': <0>}" For older versions of GNOME3, the gconftool fix posted earlier in this thread works. For Gtk3 this is now moot since Eclipse now uses custom constructed menus, as per bug 470298. Gtk2 menus will still need to be enabled using the command above or the gconftool. Marking as fixed.