GNOME Bugzilla – Bug 639474
kbd-status: Menu stays open when selecting layouts
Last modified: 2011-01-14 13:10:35 UTC
See attached patch.
Created attachment 178271 [details] [review] kbd-status: Close the menu when switching layouts Layout items in the menu overwrite PopupBaseMenuItem.activate(), so the menu stays open when selecting a layout from the menu. Chain up to the parent class' method to make the items behave properly.
Created attachment 178273 [details] [review] generic-container: Queue a redraw in skip_paint() When changing a child's visibility with skip_paint(), the change will not be visible until a redraw is triggered. Queue a redraw, so that the function has an immediate effect. (In reply to comment #2) > Shouldn't calling _set_skip_paint call _queue_redraw() itself in > shell-generic-container.c? Makes sense to me.
Review of attachment 178273 [details] [review]: Looks good.
Created attachment 178277 [details] [review] kbd-status: Close the menu when switching layouts Layout items in the menu overwrite PopupBaseMenuItem.activate(), so the menu stays open when selecting a layout from the menu. Chain up to the parent class' method to make the items behave properly. Sorry, obsoleted the wrong patch.
Review of attachment 178277 [details] [review]: Looks correct.
Attachment 178277 [details] pushed as d21f04b - kbd-status: Close the menu when switching layouts