GNOME Bugzilla – Bug 618438
Remove icons from action items in the status menu
Last modified: 2010-05-12 21:26:39 UTC
For consistency with the decision about menu icons in GNOME 2.28, it seems like a good idea to remove all icons from the status menu except for the status ones (available / busy / invisible). It also looks cleaner. I'm not sure whether the icon references should be removed from the code completely, or they should listen to a GConf preference, but the following patch uses the first method.
Created attachment 160889 [details] [review] [panel] Remove icons from action items in the status menu This is consistent with the change of icon usage in menus in GNOME 2.28 and it looks cleaner.
(In reply to comment #0) > For consistency with the decision about menu icons in GNOME 2.28, it seems like > a good idea to remove all icons from the status menu except for the status ones > (available / busy / invisible). It also looks cleaner. I agree with that - you should check with Colin and Jon about the motive for that change though. > I'm not sure whether the icon references should be removed from the code > completely, or they should listen to a GConf preference, but the following > patch uses the first method. I'd opt for a third possibility: Do what GtkImageMenuItem does and add a "always-show-image" property to PanelImageMenuItem and make it respect GtkSettings::gtk-menu-images if set to FALSE. Hopefully this will also solve the problem of the labels with icons not being aligned with the ones without.
Looks good to me.
(In reply to comment #2) > > > I'd opt for a third possibility: > Do what GtkImageMenuItem does and add a "always-show-image" property to > PanelImageMenuItem and make it respect GtkSettings::gtk-menu-images if set to > FALSE. Patch for this coming up.
Created attachment 160910 [details] [review] [panel] PanelImageMenuItem should follow gtk-menu-show-images Update statusMenu to always show images for the presence items only.
Review of attachment 160910 [details] [review]: lgtm
Attachment 160910 [details] pushed as e835cd2 - [panel] PanelImageMenuItem should follow gtk-menu-show-images