GNOME Bugzilla – Bug 706852
Hide the system actions section in the lock screen
Last modified: 2013-08-29 19:17:47 UTC
Noticed by mclasen.
Created attachment 253203 [details] [review] system: Hide the AltSwitcher when we have nothing to show
Created attachment 253204 [details] [review] popupMenu: Make the section invisible if it has no visible children
Review of attachment 253203 [details] [review]: Yes
Review of attachment 253204 [details] [review]: This is supposed to be handled by the global separator pass, or not?
(In reply to comment #4) > This is supposed to be handled by the global separator pass, or not? I don't see where the separator pass checks isEmpty, just visibility. Perhaps it should check isEmpty, but the code there is already not that great.
after this goes in, it may make sense to fix callers that were handling this themselves. git grep ection.isEmpty() shows ui/status/keyboard.js but I also see code in ui/status/network.js too that could maybe be modified to leverage this.
(In reply to comment #5) > (In reply to comment #4) > > This is supposed to be handled by the global separator pass, or not? > > I don't see where the separator pass checks isEmpty, just visibility. Perhaps > it should check isEmpty, but the code there is already not that great. Yeah, looks fine then.
still not fixed in my ostree-based demo today - wasn't this committed ?
Attachment 253203 [details] pushed as f0da08b - system: Hide the AltSwitcher when we have nothing to show Attachment 253204 [details] pushed as 5a0ac6c - popupMenu: Make the section invisible if it has no visible children