GNOME Bugzilla – Bug 642303
workspace-thumbnails: add the ability to scroll over workspaces
Last modified: 2011-02-18 17:13:00 UTC
Created attachment 180840 [details] [review] A simple 'scroll-event' connect then change the workspace It can be useful to be able to scroll over the workspace thumbnails.
Review of attachment 180840 [details] [review]: Generally looks good, some small issues though. And you should add a commit message too not just a subject. ::: js/ui/workspacesView.js @@ +669,3 @@ Lang.bind(this, this._onControlsHoverChanged)); + controls.connect('scroll-event', + Lang.bind(this, this._onMouseWheel)); I'd call this onScrollEvent to be consistent with the places where we do that. @@ +1043,3 @@ + Main.wm.actionMoveWorkspaceUp(); + break; + case Clutter.ScrollDirection.LEFT: Remove this case, we only have a top-down workspace layout. @@ +1049,3 @@ + Main.wm.actionMoveWorkspaceDown(); + break; + case Clutter.ScrollDirection.RIGHT: Same here.
Created attachment 180883 [details] [review] Top-Down scroll on workspaces controls
Review of attachment 180883 [details] [review]: Looks good, just change the commit message to something like: workspaceThumbnails: Allow mousewheel scrolling Allow the user to switch the active workspace by using the mousewheel over the workspace thumbnails.
*** Bug 613455 has been marked as a duplicate of this bug. ***
Created attachment 180914 [details] [review] Top-Down scroll on workspaces controls However, should wait for some thumbnails patches that might land soon then rebase on top of them as Owen said on IRC.
Created attachment 181237 [details] [review] Rebased patch A little rebase after some patches, maybe some other patches to wait for?
Review of attachment 181237 [details] [review]: No, we should be fine now.