GNOME Bugzilla – Bug 98589
Menus in terminal have icons even when the option is disabled
Last modified: 2004-12-22 21:47:04 UTC
I'm running sources from 14th Nov (CVS head) 1. Invoke terminal. 2. Invoke the 'Menus and Toolbars' capplet (Desktop Preferences-> Menus & Toolbars) 3. Disable the option 'Show icons in menus' by unchecking the checkbox. 4. The menus in the terminal should not have icons but they will still have.
I'm marking this trivial, but it really should be fixed. Maybe I'll give it a try myself.
Created attachment 12557 [details] [review] Proposed patch
Patch = high. Thanks!
My previous patch doesn't handle (i.e. remove the) notify id which is generated during creation of stock menu items. I modified the patch a bit, such that notify id's are properly removed in the finalize function. Pls. look at the new patch.
Created attachment 13373 [details] [review] modified patch
Needs to be robust against "gconftool --break-key" on the menus have icons setting. i.e. in the notify, check entry->value != NULL and entry->value->type == GCONF_VALUE_BOOL
Created attachment 14057 [details] [review] patch with review comments incorporated
Havoc, any chance of getting this in?
Fine to commit this to HEAD
Commited.