Skip to content

Always show menu images

Luca Bacci requested to merge lb90/gparted:always-show-menu-images into master

There is a GtkSetting [1] that controls whether images in menus are shown or not. On some distributions it is enabled by default and on others it is disabled by default. To force show images in menus set the 'always-show-image' property to true in Gtk::ImageMenuItems [2].

References:

  1. Gtk3 Reference Documentation - Settings/gtk-menu-images
    https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-menu-images

  2. Gtk3 Reference Documentation - GtkImageMenuItem
    https://developer.gnome.org/gtk3/stable/GtkImageMenuItem.html#gtk-image-menu-item-set-always-show-image

Merge request reports