GNOME Bugzilla – Bug 730653
windowMenu: Only add workspace actions when enabled by session mode
Last modified: 2014-05-27 17:53:27 UTC
See patch.
Created attachment 277082 [details] [review] windowMenu: Only add workspace actions when enabled by session mode When workspaces are disabled by the session mode, all workspace related actions don't make sense. Worse, the "Move to Workspace ..." actions allow sending windows into a nirvana with no means to get them back.
Review of attachment 277082 [details] [review]: Interesting. I thought we would have locked the workspace count to 1 in hasWorkspaces = false. I wonder if it makes sense to do that instead and hide "Always on Visible Workspace", etc. if there's only one workspace, but it's probably a weird enough edge case not to matter. Let's just do this.
Attachment 277082 [details] pushed as 9f36611 - windowMenu: Only add workspace actions when enabled by session mode